/* shop styles */
:root {
    --primary: #FF85A2;
    --primary-light: #FFB8D0;
    --primary-soft: #FFE4EC;
    --primary-background: rgba(255, 183, 205, 0.65);
    --glass-bg: rgba(255, 255, 255, 0.315);
    --glass-border: rgba(255, 255, 255, 0.5);
    --text: #E8D5E0;
    --text-light: #B8A0AC;
    --accent: #D65A78;
    --accent-dark: #B84868;
    --shop-bg: #1d1427;
    --shop-card-bg: #251a33;
    --shop-border: #3d2d4a;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-primary2: linear-gradient(-100deg, #1c003b 0%, #1c003b 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-danger: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #f5af19 0%, #f12711 100%);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

}

/* Tag Styles */
.tag {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.tag h3 {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    background: var(--gradient-success);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.3);
}

.tag h3:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 239, 125, 0.4);
}

/* Shop Body */
.shop-body {
    background-image:
        radial-gradient(ellipse at top, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    background-attachment: fixed;
    background: var(--gradient-primary2);

}

.shop-header {
    background-image: url('/img/body-image/line3.png') !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    position: relative;
}

.shop-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(29, 20, 39, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

.shop-header-video {
    position: relative;
    width: 100%;
}
/* Shop Content */
.shop-content {
    position: relative;
    z-index: 2;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shop-owl {
    margin-bottom: 10%;
    margin-top: 10%;
    background: linear-gradient(135deg, rgba(17, 12, 24, 0.95) 0%, rgba(37, 26, 51, 0.95) 100%);
    padding: 30px 15px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--shop-border);
    backdrop-filter: blur(10px);
}

/* Start Bootstrap Config */
.navbar-default {
    background: linear-gradient(180deg, #1d1427 0%, rgba(29, 20, 39, 0.98) 100%) !important;
    border: none;
    margin: 0%;
    padding: 12px 15px;
    font-family: yekanbakh-bold, Tahoma, sans-serif;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

ul {
    padding: 0px;
}

.navbar-brand {
    font-family: minecraft, monospace;
    padding: 5px 10px;
    direction: ltr;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand h2 {
    margin: 0;
    font-size: larger;
}

.navbar-form button {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-left: 0%;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.navbar-form button:hover {
    box-shadow: var(--shadow-glow);
}

.product-body p {
    margin-top: 10px;
}

.navbar-form input {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-right: 0%;
    border: 2px solid var(--shop-border);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.navbar-form input:focus {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.navbar-form input::placeholder {
    color: var(--text-light);
}

.submitcategory {
    padding: 4px 15px 4px 15px;
    border-radius: 5px;
    border: 2px solid var(--shop-border);
    background: var(--gradient-primary);
    color: #d1d1d1;
    font-size: larger;
    transition: all 0.3s ease;

}

.navbar .glyphicon {
    top: 0%;
}

.form-group {
    display: inline-block;
    width: 100%;
}

.form-control {
    display: inline-block;
    width: 80%;
    font-family: minecraft !important;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-right: 0%;
    border: 2px solid var(--shop-border);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    color: #acacac;
}

.navbar-form {
    padding-left: 5px;
    padding-right: 5px;
}

.navbar-default .navbar-nav>li>a {
    color: var(--text);
    transition: all 0.3s ease;
    padding: 15px 20px;
    position: relative;
}

.navbar-default .navbar-nav>li>a:hover {
    color: var(--primary);
}

.navbar-default .navbar-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-default .navbar-nav>li>a:hover::after {
    width: 100%;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    color: #fff;
    background: rgba(102, 126, 234, 0.2);
}

.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    background-color: transparent !important;
}

.navbar-default .navbar-nav>.open>a .caret,
.navbar-default .navbar-nav>.open>a:hover .caret,
.navbar-default .navbar-nav>.open>a:focus .caret {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(29, 20, 39, 0.98);
    border: 1px solid var(--shop-border);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.dropdown-menu>li>a {
    color: var(--text);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    background: rgba(102, 126, 234, 0.2);
    color: #fff;
}

.dropdown-menu>li>a::before {
    content: '▹ ';
    color: var(--primary);
}

.dropdown-menu .divider {
    background: var(--shop-border);
    margin: 8px 0;
}

/* Pagination */
.pagination {
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.pagination>li>a,
.pagination>li>span {
    padding: 0%;
    border: none;
    background: transparent;
}

.pagination>li>a>button,
.pagination>li>span>button {
    padding: 10px 16px;
    position: relative;
    float: left;
    color: var(--text);
    text-decoration: none;
    background: var(--shop-card-bg);
    border: 1px solid var(--shop-border);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination>li>a>button:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.pagination>.active>a>button,
.pagination>.active>span>button {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* Shop Div Styles */
.shop-div-style {
    height: 100%;
    border-radius: 0%;
    padding: 15px;
    background-color: transparent;
    border: none;
    border-top: 1px solid var(--shop-border);
}

.post-base {
    margin-bottom: 100px;
}

.shop-div-base {
    height: 100%;
    background-color: transparent;
    padding: 0%;
}

/* YN Article Display */
.YN.yn-article-display .yn-item_title {
    color: #fff !important;
}

/* Product Body */
.product-body {
    margin-top: 10px !important;
    padding: 20px !important;
    background: var(--shop-card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--shop-border);
    box-shadow: var(--shadow-soft);

}

.product-body h1 {
    margin-top: 5px !important;
    color: #fff;
    font-weight: 700;
    background: var(--gradient-success);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tag h3 {
    line-height: 2;
    font-size: larger;
}

.product-body h3 {
    color: var(--text);
    line-height: 1.6;
    text-align: right;
    white-space: pre-wrap;
    word-break: break-word;

}

.product-body button {
    padding: 6px 90px;
}

.product-body a {
    display: block;
    text-align: center;
}

.product-body span {
    display: block;
    margin: 10px 0px;
    text-align: center;
}

.shop-body .footer-copyright {
    display: none;
}

/* Image Thumbnails */
.img-thumbnail {
    background-color: var(--shop-card-bg) !important;
    border: 2px solid var(--shop-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.img-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: #667eea !important;
}

/* Product Button */
.product-button {
    padding: 15px !important;
    margin-top: 25px !important;
}

.product-button span {
    margin-left: 25px !important;
    color: var(--text-light);
}

/* Footer Copyright */
.footer-copyright {
    position: relative !important;
    top: 35% !important;
    width: 100% !important;
    text-align: center;
    padding: 20px;
    background: rgba(29, 20, 39, 0.9);
    color: var(--text-light);
    border-top: 1px solid var(--shop-border);
}

.footer-copyright a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--primary-light);
}

/* Scrollbar Styling */
.shop-div-style::-webkit-scrollbar,
.shop-body::-webkit-scrollbar {
    width: 8px;
}

.shop-div-style::-webkit-scrollbar-track,
.shop-body::-webkit-scrollbar-track {
    background: var(--shop-bg);
}

.shop-div-style::-webkit-scrollbar-thumb,
.shop-body::-webkit-scrollbar-thumb {
    background: var(--shop-border);
    border-radius: 4px;
}

.shop-div-style::-webkit-scrollbar-thumb:hover,
.shop-body::-webkit-scrollbar-thumb:hover {
    background: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-form .form-control {
        width: 70%;
    }

    .product-body {
        margin-top: 20px !important;
        padding: 15px !important;
    }

    .pagination>li>a>button,
    .pagination>li>span>button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Buttons Enhancement */
.btn-success {
    background: var(--gradient-success);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(56, 239, 125, 0.4);
    color: #fff;
}

.btn-success:active {
    transform: translateY(0);
}

/* Text Colors */
.text-success {
    color: #38ef7d !important;
}

.text-danger {
    color: #f5576c !important;
}

.text-warning {
    color: #f5af19 !important;
}



/* ============================================
           ROOT VARIABLES & BASE STYLES
           ============================================ */
:root {
    --bg-primary: #0f0a1a;
    --bg-secondary: #1a1128;
    --bg-card: #241a35;
    --bg-card-hover: #2d2040;
    --border-color: #3d2d5a;
    --border-glow: #8b5cf6;

    --text-primary: #ffffff;
    --text-secondary: #a89ec9;
    --text-muted: #6b5f8a;

    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;

    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #d946ef 100%);
    --gradient-card: linear-gradient(145deg, #241a35 0%, #1a1128 100%);
    --gradient-glow: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);

    --shop-sell-gradient: linear-gradient(to bottom,
            #0f0a1a 0%,
            #9062cc 50%,
            #0f0a1a 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.4);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


body {
    font-family: 'Vazirmatn', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;

}

/* ============================================
           BACKGROUND EFFECTS
           ============================================ */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Grid Pattern */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}


/* ============================================
           MAIN CONTENT
           ============================================ */
.ms-main {
    position: relative;
    z-index: 1;
}

/* Hero Banner */
.ms-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.ms-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ms-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(15, 10, 26, 0.3) 0%,
            rgba(15, 10, 26, 0.7) 50%,
            rgba(15, 10, 26, 1) 100%);
}

.ms-hero-content {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.ms-hero-title {
    font-size: 7rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
}

.ms-hero-subtitle {
    font-size: 3rem;
    margin: 0%;
    color: var(--text-secondary);
}

/* ============================================
           SHOP CONTENT
           ============================================ */
.ms-shop {
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.ms-section {
    margin-bottom: 4rem;
}

.ms-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.ms-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.ms-section-title .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 25px;
}

.ms-section-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.ms-section-link:hover {
    color: var(--accent-pink);
    transform: translateX(-5px);
}

/* ============================================
           OWL CAROUSEL CUSTOMIZATION
           ============================================ */
.ms-carousel-wrapper {
    position: relative;
}

.ms-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(36, 26, 53, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    opacity: 0;
}

.ms-carousel-wrapper:hover .ms-carousel-nav {
    opacity: 1;
}

.ms-carousel-nav:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-glow);
}

.ms-carousel-nav.prev {
    right: -22px;
}

.ms-carousel-nav.next {
    left: -22px;
}

/* Owl Carousel Items */
.ms-product-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
}

.ms-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.ms-product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.ms-product-card:hover::before {
    transform: scaleX(1);
}

.ms-product-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.ms-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.ms-product-card:hover .ms-product-image {
    transform: scale(1.1);
}

.ms-product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.ms-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(15, 10, 26, 0.8) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
}

.ms-product-card:hover .ms-product-overlay {
    opacity: 1;
}

.ms-product-quick-view {
    padding: 0.6rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.ms-product-card:hover .ms-product-quick-view {
    transform: translateY(0);
}

.ms-product-quick-view:hover {
    box-shadow: var(--shadow-glow);
}

.ms-product-content {
    padding: 1.25rem;
}

.ms-product-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.ms-product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ms-product-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ms-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.ms-product-price {
    display: flex;
    flex-direction: column;
}

.ms-product-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ms-product-price-unit {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.ms-product-btn {
    padding: 0.6rem 1.25rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ms-product-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.ms-flex {
    display: grid;
    grid-template-columns: repeat(2, minmax(500px, 1fr));
    grid-auto-flow: row;
    gap: 20px;
    justify-items: center;
    margin: 0%;

}

@media (max-width: 1100px) {
    .ms-flex {
        grid-template-columns: repeat(1, minmax(500px, 1fr));
    }
}



.ms-flex div {
    transform-origin: center top;
    transition-duration: 0.5s;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.ms-flex div:hover {
    animation: sway 2.5s linear infinite;
    cursor: pointer;
}

@keyframes sway {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


.ms-categorys {
    background: var(--shop-sell-gradient);
    padding-bottom: 100px;
    width: 100%;
}

.ms-categorys h2 {
    text-align: center;
    padding-bottom: 50px;
    padding-top: 70px;

}

/* ============================================
           FOOTER
           ============================================ */
.ms-footer {
    position: relative;
    z-index: 1;
    background: rgba(26, 17, 40, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.ms-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.ms-footer-logo {
    font-size: 2rem;
    font-weight: 800;
}

.ms-footer-logo .mine {
    color: var(--text-primary);
}

.ms-footer-logo .star {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ms-footer-text {
    color: var(--text-secondary);
    font-size: larger;
}

.ms-footer-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.ms-footer-link:hover {
    color: var(--accent-pink);
}

/* ============================================
           ANIMATIONS
           ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ms-animate {
    animation: fadeInUp 0.6s ease forwards;
}

.ms-animate-delay-1 {
    animation-delay: 0.1s;
}

.ms-animate-delay-2 {
    animation-delay: 0.2s;
}

.ms-animate-delay-3 {
    animation-delay: 0.3s;
}

.ms-animate-delay-4 {
    animation-delay: 0.4s;
}

/* ============================================
           RESPONSIVE STYLES
           ============================================ */
@media (max-width: 1024px) {
    .ms-nav-links {
        display: none;
    }

    .ms-mobile-toggle {
        display: flex;
    }

    .ms-search-input {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .ms-hero {
        height: 300px;
    }

    .ms-hero-title {
        font-size: 2rem;
    }

    .ms-hero-subtitle {
        font-size: 1rem;
    }

    .ms-shop {
        padding: 2rem 1rem 4rem;
    }

    .ms-section-title {
        font-size: 1.2rem;
    }

    .ms-carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .ms-carousel-nav.prev {
        right: 5px;
    }

    .ms-carousel-nav.next {
        left: 5px;
    }

    .ms-product-image-wrapper {
        height: 150px;
    }

    .ms-product-content {
        padding: 1rem;
    }

    .ms-product-title {
        font-size: 1rem;
    }

    .ms-search-form {
        display: none;
    }
}

@media (max-width: 480px) {
    .ms-navbar {
        padding: 0 1rem;
    }

    .ms-hero {
        height: 250px;
    }

    .ms-hero-title {
        font-size: 1.5rem;
    }

    .ms-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
           OWL THEME OVERRIDES
           ============================================ */
.owl-carousel {
    direction: ltr;
}

.owl-carousel .owl-stage-outer {
    padding: 10px 0;
}

.owl-carousel .owl-item {
    opacity: 1;
}

.owl-theme .owl-dots {
    display: none;
}

.owl-theme .owl-nav {
    display: none !important;
}

/* Hide default nav buttons */
.nav-button {
    display: none !important;
}

/* ============================================
           CUSTOM SCROLLBAR
           ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
}

/* ============================================
           UTILITY CLASSES
           ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(36, 26, 53, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}