* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IRANSansX', Tahoma, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #F0F4F8;
    color: #1A252F;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-bottom: 90px;
}

.page-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 30, 60, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.page-overlay.show {
    opacity: 1;
    visibility: visible;
}

.glass-topbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    height: 75px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.08);
}

.grid-menu-btn {
    position: relative;
    width: 26px;
    height: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.grid-menu-btn span {
    position: absolute;
    width: 11px;
    height: 11px;
    border: 1.5px solid #1A252F;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-menu-btn span:nth-child(1) {
    top: 0;
    left: 0;
}

.grid-menu-btn span:nth-child(2) {
    top: 0;
    right: 0;
}

.grid-menu-btn span:nth-child(3) {
    bottom: 0;
    left: 0;
}

.grid-menu-btn span:nth-child(4) {
    bottom: 0;
    right: 0;
}

.grid-menu-btn.open span {
    border: none;
    background: #0077B6;
    height: 2px;
    width: 26px;
    left: 0;
    top: 12px;
}

.grid-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg);
}

.grid-menu-btn.open span:nth-child(2) {
    transform: rotate(-45deg);
}

.grid-menu-btn.open span:nth-child(3),
.grid-menu-btn.open span:nth-child(4) {
    opacity: 0;
    transform: scale(0);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #0077B6;
    font-weight: 900;
    font-size: 22px;
    text-decoration: none;
}

.header-logo-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 45px;
    object-fit: contain;
    display: none;
}

.account-area {
    display: flex;
    gap: 10px;
    align-items: center;
}

.account-btn {
    background: none;
    border: 1.5px solid #0077B6;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: #0077B6;
    position: relative;
}

.account-btn:hover {
    background: rgba(0, 119, 182, 0.1);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.side-drawer {
    position: fixed;
    top: 115px;
    right: -350px;
    width: 300px;
    height: calc(100vh - 225px);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 1008;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 20px 80px 20px;
    overflow-y: auto;
    box-shadow: -10px 20px 50px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.side-drawer.open {
    right: 20px;
}

.drawer-item {
    margin: 8px 0;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    color: #1A252F;
    font-weight: 600;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.7);
    display: block;
}

.drawer-item:hover,
.drawer-item.active {
    background: rgba(255, 255, 255, 0.55);
    color: #0077B6;
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.05);
}

.drawer-logo-container {
    text-align: center;
    margin-bottom: 20px;
    display: none;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.drawer-logo-container img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.drawer-messengers {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 0;
    margin-top: 0;
}

.drawer-messengers a {
    display: block;
    transition: 0.3s;
}

.drawer-messengers a:hover {
    transform: translateY(-4px);
}

.drawer-messengers img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: none;
    background: transparent;
}

.account-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 30, 60, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.account-overlay.show {
    opacity: 1;
    visibility: visible;
}

.account-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 85%;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 35px 20px 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2001;
}

.account-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.account-popup h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}

.btn-close-transparent {
    position: absolute;
    top: 15px;
    left: 15px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 5px;
    transition: 0.3s;
    z-index: 10;
}

.btn-close-transparent:hover {
    color: #fff;
    transform: rotate(90deg);
}

.popup-logo-container {
    text-align: center;
    margin-bottom: 15px;
    display: none;
}

.popup-logo-container img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.auth-tabs {
    display: flex;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    transition: 0.3s;
}

.auth-tab.active {
    background: #0077B6;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.3);
}

.auth-form {
    display: none;
    flex-direction: column;
    width: 100%;
}

.auth-form.active {
    display: flex;
}

.auth-input-group {
    margin-bottom: 15px;
    text-align: right;
}

.auth-input-group label {
    display: block;
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-input::placeholder {
    color: #fff;
}

.auth-input {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    transition: 0.3s;
    outline: none;
    direction: rtl;
}

.auth-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #0077B6;
    box-shadow: 0 0 15px rgba(0, 119, 182, 0.2);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: #0077B6;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.2);
    display: block;
    text-align: center;
    text-decoration: none;
}

.auth-btn:hover {
    background: #005f92;
    transform: translateY(-2px);
    color: #fff;
}

.auth-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.auth-link {
    color: #fff;
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.auth-link:hover {
    color: #fff;
}

.auth-step {
    display: none;
    flex-direction: column;
    width: 100%;
}

.auth-step.active {
    display: flex;
}

.close-modal-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #e74c3c;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    padding: 12px;
    margin-top: 15px;
    border-radius: 12px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.close-modal-btn:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

#toastContainer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.toast {
    min-width: 250px;
    background: #1A252F;
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: toastSlideUp 0.4s ease forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toast.error {
    background: #e74c3c;
}

.toast.success {
    background: #10b981;
}

@keyframes toastSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    left: -450px;
    width: 400px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-right: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 2001;
    transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.cart-drawer.open {
    left: 0;
}

.cart-header {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.cart-header h3 {
    font-size: 18px;
    color: #1A252F;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-header h3 svg {
    color: #0077B6;
    stroke-width: 2.5;
}

.close-cart {
    background: rgba(255, 255, 255, 0.6);
    color: #1A252F;
    border: 1px solid rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg);
    border-color: #e74c3c;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: rgba(0, 119, 182, 0.3);
    border-radius: 10px;
}

.cart-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.4);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    transition: 0.3s;
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.1);
}

.cart-item img {
    width: 85px;
    height: 85px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-info h4 {
    font-size: 14px;
    color: #1A252F;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    font-size: 15px;
    color: #0077B6;
    font-weight: 900;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px;
    border-radius: 14px;
    width: fit-content;
    direction: ltr;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.qty-btn {
    border: none;
    background: #F0F4F8;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 900;
    color: #0077B6;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.qty-btn:hover {
    background: #0077B6;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 119, 182, 0.3);
}

.qty-val {
    font-size: 14px;
    font-weight: 900;
    min-width: 18px;
    text-align: center;
    color: #1A252F;
}

.remove-item {
    position: absolute;
    top: -10px;
    left: -10px;
    color: white;
    background: #e74c3c;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    transition: 0.3s;
}

.remove-item:hover {
    transform: scale(1.15) rotate(90deg);
    background: #c0392b;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 800;
    color: #1A252F;
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.cart-total span:last-child {
    color: #0077B6;
    font-size: 18px;
    font-weight: 900;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #0077B6, #00b4d8);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.4);
    filter: brightness(1.1);
}

.empty-cart-msg {
    text-align: center;
    color: #555;
    font-size: 14px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-weight: 700;
}

.empty-cart-msg svg {
    color: #0077B6;
    opacity: 0.5;
}

.hero-section {
    width: 100%;
    position: relative;
    padding: 120px 20px 240px 20px;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #e8f0f8;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    width: 100%;
    position: relative;
}

.slide-img {
    width: 85%;
    max-width: 800px;
    max-height: 450px;
    object-fit: contain;
    margin-bottom: 20px;
    z-index: 5;
    position: relative;
}

.hero-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    z-index: 5;
    position: relative;
    height: 55px;
    width: 100%;
}

.hero-btn-animated {
    background: #0077B6;
    color: #fff;
    padding: 14px 35px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.3);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid #0077B6;
}

.hero-btn-animated:hover {
    background: #005f92;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 119, 182, 0.4);
    border-color: #005f92;
    color: #fff;
}

.hero-btn-animated.fade-out {
    opacity: 0;
    transform: translateY(15px);
}

.hero-btn-animated.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.waves-container {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 18vh;
    min-height: 120px;
    max-height: 200px;
    z-index: 2;
    pointer-events: none;
}

.waves {
    width: 100%;
    height: 100%;
}

.parallax>use {
    animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax>use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax>use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }

    100% {
        transform: translate3d(85px, 0, 0);
    }
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px 20px;
    text-align: center;
    scroll-margin-top: 100px;
}

.slogan-title {
    font-size: 32px;
    color: #0077B6;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.slogan-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 60px;
    font-weight: 300;
}

.section-title {
    font-size: 24px;
    color: #1A252F;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: right;
    border-right: 4px solid #0077B6;
    padding-right: 10px;
}

.portfolio-wrapper {
    position: relative;
    max-height: 580px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 60px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 50px;
}

.portfolio-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    text-align: right;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.1);
}

.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-card .card-info {
    padding: 15px 20px;
}

.portfolio-card h3 {
    font-size: 16px;
    color: #1A252F;
    margin-bottom: 8px;
    font-weight: 800;
}

.portfolio-card p {
    font-size: 13px;
    color: #7f8c8d;
}

.portfolio-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, rgba(240, 244, 248, 0) 0%, rgba(240, 244, 248, 1) 85%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    z-index: 10;
}

.show-more-btn {
    background: #1A252F;
    color: #fff;
    padding: 14px 40px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(26, 37, 47, 0.3);
    transition: 0.3s;
    border: 2px solid #1A252F;
    z-index: 11;
    position: relative;
}

.show-more-btn:hover {
    background: #fff;
    color: #1A252F;
}

/* ========================================= */
/* جلوگیری از کشیده شدن محصولات در PC (ریسپانسیو) */
/* ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-bottom: 20px;
}

@media (min-width: 768px) {
    .portfolio-wrapper {
        max-height: 400px;
    }

    /* استفاده از auto-fill و minmax برای حفظ ابعاد اصلی در دسکتاپ */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 280px));
        justify-content: center;
        gap: 25px;
    }

    .media-box {
        height: 200px;
    }

    .prod-info h3 {
        font-size: 15px;
    }

    .prod-info .price {
        font-size: 16px;
    }

    .cart-cutout-btn {
        width: 55px;
        height: 55px;
        bottom: -15px;
        left: -15px;
        border-width: 6px;
    }
}

.product-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-align: right;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);
    background: #fff;
}

.media-box {
    position: relative;
    width: 100%;
    height: 160px;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    z-index: 2;
}

.media-box img,
.media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.4s;
}

.media-box video {
    display: none;
}

.product-card:hover .media-box img {
    transform: scale(1.05);
}

.play-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: bold;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(5px);
}

.prod-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.prod-info h3 {
    font-size: 14px;
    color: #1A252F;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.5;
}

.prod-info .price {
    color: #0077B6;
    font-size: 15px;
    font-weight: 900;
}

.prod-info .old-price {
    color: #7f8c8d;
    font-size: 12px;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.cart-cutout-btn {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 45px;
    height: 45px;
    background: #0077B6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 4px solid #F0F4F8;
    z-index: 3;
    transition: 0.3s;
}

.cart-cutout-btn:hover {
    background: #10b981;
    transform: scale(1.05) rotate(-10deg);
}

.show-all-products-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0077B6;
    color: #fff;
    padding: 15px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 900;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.3);
    transition: 0.3s;
    border: 2px solid #0077B6;
    margin-top: 10px;
    margin-bottom: 40px;
}

.show-all-products-btn:hover {
    background: #fff;
    color: #0077B6;
    transform: translateY(-3px);
}

.show-all-products-btn svg {
    transition: 0.3s;
    transform: rotate(180deg);
}

.show-all-products-btn:hover svg {
    transform: translateX(-5px) rotate(180deg);
}

@media (max-width: 480px) {
    .product-card {
        padding: 10px;
    }

    .media-box {
        height: 120px;
        margin-bottom: 10px;
    }

    .prod-info h3 {
        font-size: 12px;
    }

    .prod-info .price {
        font-size: 14px;
    }

    .cart-drawer {
        width: 300px;
        left: -320px;
    }
}

.bottom-nav-container {
    position: fixed;
    bottom: 25px;
    right: 50%;
    transform: translateX(50%);
    width: calc(100% - 50px);
    max-width: 450px;
    height: 75px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.15);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.bottom-nav-container.collapsed {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    right: 25px;
    bottom: 25px;
    transform: translateX(0);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.15);
}

.nav-expanded-content {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 15px;
    opacity: 1;
    transition: opacity 0.3s ease;
    gap: 10px;
}

.bottom-nav-container.collapsed .nav-expanded-content {
    display: none;
    opacity: 0;
}

.bottom-nav {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.nav-item {
    text-decoration: none;
    color: #1A252F;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    transition: 0.3s;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    stroke-width: 2.5;
}

.nav-item span {
    font-size: 11px;
    font-weight: 800;
}

.nav-item.active {
    color: #0077B6;
    background: rgba(0, 119, 182, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.nav-item:hover:not(.active) {
    color: #0077B6;
    background: rgba(255, 255, 255, 0.4);
}

.collapse-btn {
    width: 45px;
    height: 45px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: #0077B6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
}

.collapse-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.nav-collapsed-trigger {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0077B6;
    cursor: pointer;
    transition: 0.3s;
}

.bottom-nav-container:not(.collapsed) .nav-collapsed-trigger {
    display: none;
}

@media (max-width: 900px) {
    .bottom-nav-container {
        right: 15px;
        left: auto;
        bottom: 20px;
        transform: none;
        width: calc(100% - 105px);
        height: 65px;
        border-radius: 20px;
        max-width: none;
    }
    .bottom-nav-container.collapsed {
        right: 15px;
        bottom: 20px;
        width: 65px;
        height: 65px;
    }
    .nav-item.resume-link {
        display: none !important;
    }
    .nav-expanded-content {
        padding: 0 10px; gap: 8px;
    }
    .collapse-btn {
        width: 40px; height: 40px; border-radius: 14px; margin-left: 5px;
    }
}

/* ========================================= */
/* فوتر جدید، زیبا و حرفه‌ای */
/* ========================================= */
.glass-footer {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px 40px 0 0;
    padding: 40px 5% 100px 5%;
    margin-top: 40px;
    box-shadow: 0 -10px 40px rgba(0, 119, 182, 0.05);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h3 {
    color: #0077B6;
    margin-bottom: 25px;
    font-size: 18px;
    font-weight: 900;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    height: 3px;
    background: #0077B6;
    border-radius: 5px;
}

/* استایل لیست ارتباط با ما (باکس های شیشه ای جذاب) */
.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li a,
.contact-list .address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1A252F;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.6);
    padding: 10px 12px;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.contact-list li a:hover {
    background: #0077B6;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.2);
}

.contact-list li a:hover svg {
    color: #fff;
}

.contact-list svg {
    color: #0077B6;
    width: 18px;
    height: 18px;
    min-width: 18px;
    transition: 0.3s;
}

/* استایل دسترسی سریع */
.links-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.links-list li a {
    color: #1A252F;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: block;
    border-right: 3px solid #0077B6;
    padding-right: 10px;
    background: rgba(255, 255, 255, 0.4);
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px 0 0 8px;
    transition: 0.3s;
}

.links-list li a:hover {
    color: #0077B6;
    background: rgba(255, 255, 255, 0.8);
    padding-right: 15px;
}

.footer-col.center-col {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.enamad-box {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 15px 25px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    cursor: pointer;
}

.enamad-box svg {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    filter: grayscale(100%);
}

.enamad-box:hover {
    transform: translateY(-5px);
}

.enamad-box:hover svg {
    filter: grayscale(0%);
}

.enamad-text {
    font-size: 12px;
    font-weight: 800;
    color: #1A252F;
}

@media (max-width: 768px) {
    .glass-footer {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 120px;
    }

    .footer-col {
        text-align: right;
    }

    .footer-col.center-col {
        text-align: center;
    }
}

/* ========================================= */
/* Responsive Cart Drawer & Layout */
/* ========================================= */
@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
        max-width: 100vw;
        left: -100vw;
        border-radius: 0;
    }
    .cart-drawer.open {
        left: 0;
    }
}

.cart-item-qty-row {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}.bottom-nav-container {
    position: fixed; bottom: 20px; right: 50%; transform: translateX(50%); 
    width: calc(100% - 40px); max-width: 600px; height: 75px; opacity: 1; 
    background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(35px); -webkit-backdrop-filter: blur(35px); 
    border-radius: 25px; border: 1px solid rgba(255, 255, 255, 0.4); 
    display: flex; flex-direction: column; z-index: 1000; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.bottom-nav-container.collapsed {
    width: 65px; height: 65px; border-radius: 50%; bottom: 25px; right: 25px; transform: none;
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.3); background: #0077B6;
}
.nav-collapsed-trigger {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: white; transition: 0.3s;
}
.bottom-nav-container:not(.collapsed) .nav-collapsed-trigger {
    display: none;
}
.nav-expanded-content {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 100%; padding: 0 15px; opacity: 1; transition: 0.3s;
}
.bottom-nav-container.collapsed .nav-expanded-content {
    display: none; opacity: 0;
}
.collapse-btn {
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.5); border-radius: 18px; border: none; cursor: pointer;
    color: #0077B6; transition: 0.3s; margin-left: 10px;
}
.collapse-btn:hover { background: #fff; transform: scale(1.05); }
.bottom-nav {
    display: flex; align-items: center; justify-content: space-around; width: 100%;
}
.nav-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-decoration: none; color: #555; font-size: 11px; font-weight: 700; gap: 5px;
    padding: 10px; border-radius: 15px; transition: 0.3s;
}
.nav-item:hover:not(.active) { color: #0077B6; }
.nav-item.active { 
    background: rgba(0, 119, 182, 0.15); 
    color: #0077B6; 
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.05); 
}
/* Dual Bottom Panels for Product Page */
.dual-nav-right, .dual-nav-left {
    position: fixed;
    bottom: 20px;
    height: 75px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dual-nav-right {
    right: 20px;
    width: calc(100% - 110px);
    max-width: 400px;
}

.dual-nav-left {
    left: 20px;
    width: calc(100% - 110px);
    max-width: 400px;
}

.dual-nav-right.collapsed {
    width: 65px; height: 65px; border-radius: 50%; bottom: 25px; right: 20px;
    background: #0077B6; border: none; box-shadow: 0 15px 35px rgba(0, 119, 182, 0.3);
}

.dual-nav-left.collapsed {
    width: 65px; height: 65px; border-radius: 50%; bottom: 25px; left: 20px;
    background: #10b981; border: none; box-shadow: 0 15px 35px rgba(16, 185, 129, 0.3);
}

/* Common inner elements */
.dual-nav-right:not(.collapsed) .nav-collapsed-trigger,
.dual-nav-left:not(.collapsed) .nav-collapsed-trigger {
    display: none;
}

.dual-nav-right.collapsed .nav-collapsed-trigger,
.dual-nav-left.collapsed .nav-collapsed-trigger {
    pointer-events: auto;
    opacity: 1;
}

.dual-nav-right.collapsed .nav-expanded-content,
.dual-nav-left.collapsed .nav-expanded-content {
    display: none; opacity: 0;
}

.cart-controls-expanded {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 0 15px;
}

.add-btn-primary {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 18px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    transition: 0.3s;
}

.add-btn-primary:hover {
    transform: scale(1.05);
}

.quantity-control {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 5px;
}

.quantity-control button {
    width: 35px; height: 35px;
    border: none; border-radius: 10px;
    background: white; color: #333;
    font-size: 18px; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex; align-items: center; justify-content: center;
}

.quantity-control span {
    width: 40px; text-align: center; font-weight: bold; font-size: 16px;
}

/* Badge for collapsed cart */
.cart-badge-left {
    position: absolute;
    top: -5px; right: -5px;
    background: #ef4444; color: white;
    font-size: 12px; font-weight: bold;
    min-width: 22px; height: 22px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
}

/* Description Fade & Show More */
.desc-wrapper {
    position: relative;
    margin-bottom: 20px;
}
.desc-content {
    white-space: pre-wrap; word-wrap: break-word; line-height: 1.8;
    max-height: 130px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.desc-content.expanded {
    max-height: 2000px; /* arbitrary large value */
}
.desc-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.95));
    pointer-events: none;
    transition: opacity 0.3s;
}
.desc-fade.hidden {
    opacity: 0;
}
.show-more-btn {
    display: block;
    margin: 10px auto 0;
    background: none;
    border: none;
    color: #0077B6;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.show-more-btn svg {
    transition: 0.3s;
}
.show-more-btn.expanded svg {
    transform: rotate(180deg);
}

/* Custom Video Player */
.custom-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 20px;
}
.custom-video-wrapper video {
    width: 100%;
    display: block;
}
.custom-video-controls {
    position: absolute;
    bottom: 15px; left: 15px; right: 15px;
