@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    .navbar-menu {
        gap: 1rem;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .blog-list-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero-slider {
        height: 400px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .filters-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 12px 12px;
    }
    .navbar-menu.active {
        display: flex;
    }
    .navbar-menu a {
        color: var(--color-text-dark);
        width: 100%;
        text-align: center;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-slider {
        height: 350px;
    }
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .categories-grid,
    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cart-item {
        grid-template-columns: 1fr;
    }
    .cart-item-actions {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 250px;
    }
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .page-header h1 {
        font-size: 1.75rem;
    }
    .product-detail-info h1 {
        font-size: 1.5rem;
    }
    .blog-post-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-detail-content {
        padding: 2rem;
    }
    .post-featured-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 0.8rem;
    }
    .blog-detail-content {
        padding: 1.5rem;
    }
    .post-detail-header h1 {
        font-size: 1.75rem;
    }
    .post-featured-image {
        height: 300px;
    }
    .post-body-content {
        font-size: 1rem;
    }
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    .author-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .comment-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .comment-header {
        justify-content: center;
    }
    .share-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-featured-image {
        height: 250px;
        border-radius: 12px;
    }
    .post-detail-header h1 {
        font-size: 1.5rem;
    }
    .author-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-text {
        flex-direction: column;
    }
    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-wave svg {
        height: 60px;
    }
    .social-links {
        justify-content: center;
    }
    .footer-section {
        text-align: center;
    }
    .footer-section h3 {
        justify-content: center;
    }
    .footer-links a {
        justify-content: center;
    }
    .contact-item {
        justify-content: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-wave svg {
        height: 40px;
    }
    .newsletter-content {
        padding: 1.5rem;
    }
    .newsletter-text>i {
        font-size: 2rem;
    }
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    .trust-badge {
        height: 50px;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 200px;
    }
    .hero-buttons-center {
        flex-direction: column;
        align-items: center;
    }
    .hero-features-center {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .hero-feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(20px);
    }
}

@media (max-width: 1024px) {
    .hero-section {
        height: 600px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .title-line {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 550px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .title-line {
        font-size: 1.75rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    .hero-features {
        gap: 1rem;
    }
    .hero-feature {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 500px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .title-line {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-feature {
        width: 100%;
    }
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
    .progress-steps {
        gap: 1rem;
    }
    .step-label {
        font-size: 0.75rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .form-actions,
    .payment-actions,
    .detail-actions {
        flex-direction: column;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-gallery {
        position: relative;
        top: 0;
    }
    .main-product-image {
        height: 450px;
    }
    .product-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-title {
        font-size: 1.5rem;
    }
    .main-product-image {
        height: 350px;
    }
    .product-thumbnails {
        gap: 0.5rem;
    }
    .thumbnail-item {
        width: 70px;
        height: 70px;
    }
    .price-current {
        font-size: 1.5rem;
    }
    .add-to-cart-section {
        flex-direction: column;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .tabs-navigation {
        overflow-x: auto;
    }
    .tab-nav-btn {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 1rem;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .product-detail-section {
        padding: 1rem 0 2rem;
    }
    .product-detail-title {
        font-size: 1.25rem;
    }
    .main-product-image {
        height: 300px;
    }
    .product-thumbnails {
        display: none;
    }
    .product-meta-tags {
        flex-direction: column;
    }
    .meta-tag {
        width: 100%;
        justify-content: center;
    }
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .price-current {
        font-size: 1.75rem;
    }
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    .tab-panel {
        padding: 2rem 1rem;
    }
}

@media (max-width: 1024px) {
    .filter-toggle {
        display: flex;
        align-items: center;
    }
    .products-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--color-white);
        z-index: 1000;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    .products-sidebar.active {
        right: 0;
    }
    .sidebar-close {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }
    .sidebar-close i {
        font-size: 1.5rem;
        color: var(--color-text-dark);
        cursor: pointer;
        padding: 0.5rem;
    }
    body.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .header-stats {
        width: 100%;
        justify-content: center;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 1.75rem;
    }
    .header-stats {
        flex-direction: column;
        width: 100%;
    }
    .stat-box {
        width: 100%;
        justify-content: center;
    }
    .products-filters-bar {
        flex-wrap: wrap;
    }
    .sort-box {
        width: 100%;
        justify-content: space-between;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-card-image {
        height: 200px;
    }
    .pagination-pages {
        display: none;
    }
}

@media (max-width: 576px) {
    .products-page-header {
        padding: 2rem 0;
    }
    .header-text h1 {
        font-size: 1.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card-image {
        height: 250px;
    }
    .products-filters-bar {
        padding: 1rem;
    }
    .products-count {
        flex: 1;
    }
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

@media (max-width: 768px) {
    .products-pagination-wrapper {
        gap: 1rem;
    }
    .pagination-info {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    .products-pagination {
        gap: 0.35rem;
    }
    .pagination-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    .pagination-page {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    .pagination-first,
    .pagination-last {
        width: 38px;
        padding: 0.65rem;
    }
    .pagination-prev span,
    .pagination-next span {
        display: none;
    }
    .pagination-jump {
        flex-wrap: wrap;
        justify-content: center;
    }
    .pagination-jump label {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .pagination-pages {
        display: none;
    }
    .pagination-first,
    .pagination-last {
        display: none;
    }
    .products-pagination {
        justify-content: space-between;
        width: 100%;
    }
    .pagination-btn {
        flex: 1;
        justify-content: center;
    }
    .pagination-info {
        font-size: 0.85rem;
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .filter-toggle {
        display: flex;
        align-items: center;
    }
    .products-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--color-white);
        z-index: 1000;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    .products-sidebar.active {
        right: 0;
    }
    .sidebar-close {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }
    .sidebar-close i {
        font-size: 1.5rem;
        color: var(--color-text-dark);
        cursor: pointer;
        padding: 0.5rem;
    }
    body.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .header-stats {
        width: 100%;
        justify-content: center;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 1.75rem;
    }
    .header-stats {
        flex-direction: column;
        width: 100%;
    }
    .stat-box {
        width: 100%;
        justify-content: center;
    }
    .products-filters-bar {
        flex-wrap: wrap;
    }
    .sort-box {
        width: 100%;
        justify-content: space-between;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-card-image {
        height: 200px;
    }
    .pagination-pages {
        display: none;
    }
}

@media (max-width: 576px) {
    .products-page-header {
        padding: 2rem 0;
    }
    .header-text h1 {
        font-size: 1.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card-image {
        height: 250px;
    }
    .products-filters-bar {
        padding: 1rem;
    }
    .products-count {
        flex: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .pagination-numbers {
        max-width: 250px;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .pagination-btn {
        padding: 0.75rem 1.25rem;
    }
    .page-num {
        min-width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .pagination-container {
        flex-wrap: wrap;
    }
    .pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

@keyframes activePagePulse {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(125, 83, 222, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(125, 83, 222, 0.6);
    }
}

@media (max-width: 768px) {
    .simple-pagination {
        margin: 3rem 0 2rem;
    }
    .pagination-buttons {
        gap: 0.75rem;
    }
    .pagination-buttons>a {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    .pagination-pages {
        padding: 0 0.5rem;
    }
    .pagination-pages a,
    .pagination-pages span {
        min-width: 45px;
        height: 45px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .pagination-buttons {
        gap: 0.5rem;
    }
    .pagination-buttons>a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        flex: 1;
        justify-content: center;
    }
    .pagination-pages {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 0;
    }
    .pagination-pages a,
    .pagination-pages span {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    .related-product-image {
        height: 240px;
    }
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .related-products-section {
        margin: 3rem 0;
        padding: 2rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .related-product-image {
        height: 220px;
    }
    .related-product-info {
        padding: 1.25rem;
    }
    .price-current {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .related-products-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .related-product-image {
        height: 200px;
    }
    .related-product-info {
        padding: 1rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    .swiper-button-next i,
    .swiper-button-prev i {
        font-size: 1rem;
    }
}

@keyframes badgePulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    .related-product-image {
        height: 240px;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .related-product-info {
        padding: 1.25rem;
        gap: 0.85rem;
    }
}

@media (max-width: 768px) {
    .related-products-section {
        margin: 3rem 0 2rem;
        padding: 2rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .related-product-image {
        height: 220px;
    }
    .related-product-info {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    .price-current {
        font-size: 1.4rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    .swiper-button-next i,
    .swiper-button-prev i {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .related-products-section {
        margin: 2rem 0 1.5rem;
        padding: 1.5rem 0;
    }
    .section-header {
        margin-bottom: 1.5rem;
    }
    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .section-title i {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
    }
    .related-products-slider {
        padding: 0.5rem 0 3rem;
    }
    .related-product-image {
        height: 200px;
    }
    .related-product-info {
        padding: 1rem;
        gap: 0.65rem;
    }
    .related-product-name {
        font-size: 1rem;
        min-height: auto;
    }
    .price-current {
        font-size: 1.3rem;
    }
    .btn-view-product {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    .swiper-button-next i,
    .swiper-button-prev i {
        font-size: 1rem;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

@media (max-width: 1200px) {
    .cart-layout {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .order-summary {
        order: -1;
    }
}

@media (max-width: 768px) {
    .cart-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .cart-items-container {
        padding: 1rem;
    }
    .cart-table-header {
        display: none;
    }
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    .cart-item-product {
        flex-direction: column;
    }
    .product-image {
        width: 120px;
        height: 120px;
    }
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-continue-shopping,
    .btn-clear-cart {
        width: 100%;
        justify-content: center;
    }
    .payment-icons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .cart-section {
        padding: 2rem 0;
    }
    .cart-header h1 {
        font-size: 1.5rem;
    }
    .product-image {
        width: 100px;
        height: 100px;
    }
    .summary-body {
        padding: 1rem;
    }
    .payment-icons {
        gap: 0.5rem;
    }
    .trust-badges {
        padding: 1rem;
    }
}

:root {
    --color-primary: #7d53de;
    --color-secondary: #34f6f2;
    --color-accent: #78e3fd;
    --color-bg-light-1: #eef8ff;
    --color-bg-light-2: #d1f5ff;
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    --gradient-background: linear-gradient(135deg, var(--color-bg-light-1) 0%, var(--color-bg-light-2) 100%);
    --color-text-dark: #1a1a2e;
    --color-text-gray: #6b7280;
    --color-text-light: #9ca3af;
    --color-white: #ffffff;
    --color-border: #e5e7eb;
    --color-shadow: rgba(125, 83, 222, 0.15);
    --color-success: #34f6f2;
    --color-error: #7d53de;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Vazirmatn', sans-serif;
    background: var(--color-white);
    color: var(--color-text-dark);
    line-height: 0.8;
    direction: rtl;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.navbar {
    background: var(--gradient-primary);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px #7d53de;
    position: sticky;
    top: 0;
    height: 65px;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 70%;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

a {
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-menu a {
    color: var(--color-white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar-user {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 50px;
    color: var(--color-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.user-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
}

.user-dropdown a:first-child {
    border-radius: 12px 12px 0 0;
}

.user-dropdown a:last-child {
    border-radius: 0 0 12px 12px;
}

.user-dropdown a:hover {
    background: var(--color-bg-light-1);
    color: var(--color-primary);
}

.user-dropdown i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 1.5rem;
}

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.hero-slider .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slider-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-slider .swiper-slide:hover .slider-image {
    transform: scale(1.05);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--color-white) !important;
    background: rgba(0, 0, 0, 0.5);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 20px !important;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: var(--color-primary);
}

.hero-slider .swiper-pagination {
    bottom: 20px !important;
}

.hero-slider .swiper-pagination-bullet {
    background: var(--color-white) !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 30px !important;
    border-radius: 6px !important;
    background: var(--color-primary) !important;
}

.section:nth-child(even) {
    background: var(--color-bg-light-1);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--color-shadow);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.category-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.category-card p {
    color: var(--color-text-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.category-arrow {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.products-swiper {
    padding: 1rem 0 3rem;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px var(--color-shadow);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px var(--color-shadow);
}

.product-image {
    height: 280px;
    overflow: hidden;
    background: var(--color-bg-light-1);
    position: relative;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-border);
}

.product-actions {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    min-height: 2.5rem;
}

.product-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.2;
}

.product-title a:hover {
    color: var(--color-primary);
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--color-text-gray);
    font-size: 0.85rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.btn-add-cart {
    width: 100%;
    padding: 0.875rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--color-shadow);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--color-shadow);
}

.btn-add-cart.disabled {
    background: var(--color-border);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-add-cart.disabled:hover {
    transform: none;
}

.filters-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: var(--color-text-gray);
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: var(--color-bg-light-1);
    color: var(--color-primary);
    font-weight: 600;
}

.featured-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.featured-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.featured-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.featured-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-dark);
}

.featured-item p {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
}

.product-stock {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-dark);
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.page-current {
    padding: 0.75rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 8px;
    font-weight: 600;
}

.empty-state i {
    font-size: 4rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image-container {
    width: 100%;
    height: 500px;
    background: var(--color-bg-light-1);
    border-radius: 20px;
    overflow: hidden;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.thumbnail-image {
    height: 120px;
    background: var(--color-bg-light-1);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: var(--color-primary);
}

.thumbnail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.product-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--color-text-gray);
}

.product-price-large {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
}

.price-large-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-large-old {
    font-size: 1.5rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector label {
    font-weight: 600;
    color: var(--color-text-dark);
}

.quantity-input {
    width: 80px;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.product-actions-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.btn-primary-large {
    flex: 1;
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-shadow);
}

.btn-wishlist {
    width: 60px;
    background: var(--color-bg-light-1);
    color: var(--color-primary);
}

.btn-wishlist:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.product-features {
    background: var(--color-bg-light-1);
    padding: 1.5rem;
    border-radius: 12px;
}

.product-features h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.product-features ul {
    list-style: none;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--color-text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features li i {
    color: var(--color-primary);
}

.product-tabs {
    margin-bottom: 3rem;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button:hover,
.tab-button.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.reviews-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.review-item {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 700;
    color: var(--color-text-dark);
}

.review-form h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.blog-list-layout {
    display: grid;
    grid-template-columns: 1fr 70%;
    gap: 2rem;
    margin: 0rem 0;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.featured-posts-section {
    margin-bottom: 2rem;
}

.featured-posts-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    text-align: right;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-post-card.featured-post {
    border: 2px solid var(--color-accent);
    background: var(--color-bg-light-1);
}

.blog-post-card.featured-post .blog-post-category {
    background: var(--gradient-primary);
}

.posts-section {
    margin-top: 2rem;
}

.posts-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    text-align: right;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--color-shadow);
}

.blog-post-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-bg-light-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-primary);
}

.blog-post-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-post-title a {
    color: var(--color-text-dark);
    transition: color 0.3s;
}

.blog-post-title a:hover {
    color: var(--color-primary);
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-gray);
    flex-wrap: wrap;
}

.blog-post-meta i {
    margin-left: 0.25rem;
    color: var(--color-primary);
}

.blog-author,
.blog-date,
.blog-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-post-excerpt {
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.widget-list li:last-child {
    border-bottom: none;
}

.widget-list a {
    color: var(--color-text-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.widget-list a:hover {
    color: var(--color-primary);
    padding-right: 0.5rem;
}

.search-form-widget {
    margin-bottom: 0;
}

.search-input-group {
    display: flex;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-input-group:focus-within {
    border-color: var(--color-primary);
}

.search-input-group .form-control {
    flex: 1;
    border: none;
    padding: 0.75rem;
    outline: none;
}

.search-input-group .search-btn {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
}

.search-input-group .search-btn:hover {
    background: var(--color-secondary);
}

.widget-list .category-name {
    flex: 1;
}

.widget-list .category-count {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

.widget-list a.active {
    background: var(--color-bg-light-1);
    color: var(--color-primary);
    font-weight: 600;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-item {
    display: inline-block;
    background: var(--color-bg-light-1);
    color: var(--color-text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--color-border);
}

.tag-item:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.widget-post {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.widget-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.widget-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.widget-post-content h4 a {
    color: var(--color-text-dark);
    transition: color 0.3s;
}

.widget-post-content h4 a:hover {
    color: var(--color-primary);
}

.widget-post-date {
    font-size: 0.85rem;
    color: var(--color-text-gray);
}

.widget-posts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.post-placeholder-small {
    width: 100%;
    height: 100%;
    background: var(--color-bg-light-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    border-radius: 8px;
}

.blog-detail-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.blog-detail-content .blog-post-meta {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.blog-detail-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.blog-detail-content p {
    color: var(--color-text-gray);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.blog-detail-content h2,
.blog-detail-content h3 {
    color: var(--color-text-dark);
    margin: 2rem 0 1rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.blog-detail-content li {
    color: var(--color-text-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.cart-items {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cart-items h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.cart-item-details p {
    color: var(--color-text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background: var(--color-white);
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.quantity-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    color: var(--color-error);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.remove-btn:hover {
    transform: scale(1.2);
}

.cart-summary {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.summary-row:last-of-type {
    border-bottom: 2px solid var(--color-border);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.checkout-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--color-shadow);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-shadow);
}

.continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s;
}

.continue-shopping:hover {
    gap: 0.75rem;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty i {
    font-size: 5rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.cart-empty h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.cart-empty p {
    color: var(--color-text-gray);
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--color-shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--color-text-gray);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--color-shadow);
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--color-shadow);
    gap: 1rem;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
    .navbar-menu {
        gap: 1rem;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .blog-list-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .hero-slider {
        height: 400px;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .filters-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 12px 12px;
    }
    .navbar-menu.active {
        display: flex;
    }
    .navbar-menu a {
        color: var(--color-text-dark);
        width: 100%;
        text-align: center;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-slider {
        height: 350px;
    }
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .categories-grid,
    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .cart-item {
        grid-template-columns: 1fr;
    }
    .cart-item-actions {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        height: 250px;
    }
    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        display: none;
    }
    .product-card {
        max-width: 400px;
        margin: 0 auto;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .page-header h1 {
        font-size: 1.75rem;
    }
    .product-detail-info h1 {
        font-size: 1.5rem;
    }
    .blog-post-title {
        font-size: 1.25rem;
    }
}

.text-muted {
    color: var(--color-text-gray);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.alert-success {
    background: rgba(52, 246, 242, 0.1);
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

.alert-error {
    background: rgba(125, 83, 222, 0.1);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.alert-info {
    background: rgba(120, 227, 253, 0.1);
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 70%;
    gap: 3rem;
    margin: 2rem 0;
}

.blog-detail-content {
    background: var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.post-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--color-border);
}

.post-detail-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 1rem 0;
    color: var(--color-text-dark);
}

.post-detail-header .blog-post-category {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px var(--color-shadow);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.post-featured-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-gray);
    margin-bottom: 3rem;
}

.post-body-content p {
    margin-bottom: 1.5rem;
}

.post-body-content h2,
.post-body-content h3,
.post-body-content h4 {
    color: var(--color-text-dark);
    font-weight: 700;
    margin: 2rem 0 1rem;
}

.post-body-content h2 {
    font-size: 1.75rem;
}

.post-body-content h3 {
    font-size: 1.5rem;
}

.post-body-content h4 {
    font-size: 1.25rem;
}

.post-body-content ul,
.post-body-content ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.post-body-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.post-body-content blockquote {
    background: var(--color-bg-light-1);
    border-right: 4px solid var(--color-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
}

.post-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-body-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s;
}

.post-body-content a:hover {
    color: var(--color-secondary);
}

.author-bio-box {
    background: var(--color-bg-light-1);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.author-bio-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-bio-box h3 i {
    color: var(--color-primary);
}

.author-info {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--color-shadow);
}

.author-details {
    flex: 1;
}

.author-details h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.author-details p {
    color: var(--color-text-gray);
    line-height: 1.7;
}

.comments-section {
    margin-top: 4rem;
}

.comments-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comments-title i {
    color: var(--color-primary);
}

.comments-list {
    margin-bottom: 2rem;
}

.comment-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.comment-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comment-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--color-shadow);
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.comment-date i {
    font-size: 0.75rem;
}

.comment-text {
    color: var(--color-text-gray);
    line-height: 1.7;
    margin: 0;
}

.no-comments {
    background: var(--color-bg-light-1);
    border: 2px dashed var(--color-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.no-comments i {
    font-size: 3rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: block;
}

.no-comments p {
    color: var(--color-text-gray);
    font-size: 1.1rem;
    margin: 0;
}

.comment-form-box {
    background: var(--color-bg-light-1);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.comment-form-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form-box h3 i {
    color: var(--color-primary);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form .form-group:last-child {
    margin-bottom: 0;
}

.comment-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.comment-form label i {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.comment-form .form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--color-white);
}

.comment-form .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(125, 83, 222, 0.1);
}

.comment-form .form-control::placeholder {
    color: var(--color-text-light);
}

.comment-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.comment-form .btn-large {
    margin-top: 1rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--color-border);
    background: var(--color-white);
}

.share-btn.telegram {
    color: #0088cc;
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: var(--color-white);
    border-color: #0088cc;
    transform: translateY(-3px);
}

.share-btn.whatsapp {
    color: #25D366;
}

.share-btn.whatsapp:hover {
    background: #25D366;
    color: var(--color-white);
    border-color: #25D366;
    transform: translateY(-3px);
}

.share-btn.twitter {
    color: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #1DA1F2;
    color: var(--color-white);
    border-color: #1DA1F2;
    transform: translateY(-3px);
}

.share-btn.linkedin {
    color: #0077B5;
}

.share-btn.linkedin:hover {
    background: #0077B5;
    color: var(--color-white);
    border-color: #0077B5;
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.75rem;
}

.blog-comments {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-detail-content {
        padding: 2rem;
    }
    .post-featured-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 0.8rem;
    }
    .blog-detail-content {
        padding: 1.5rem;
    }
    .post-detail-header h1 {
        font-size: 1.75rem;
    }
    .post-featured-image {
        height: 300px;
    }
    .post-body-content {
        font-size: 1rem;
    }
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    .author-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .comment-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .comment-header {
        justify-content: center;
    }
    .share-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-featured-image {
        height: 250px;
        border-radius: 12px;
    }
    .post-detail-header h1 {
        font-size: 1.5rem;
    }
    .author-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.sidebar-widget h3 i {
    color: var(--color-primary);
    margin-left: 0.5rem;
}

.category-name i {
    font-size: 0.85rem;
    margin-left: 0.25rem;
    color: var(--color-primary);
}

.tag-item i {
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

.page-current i {
    margin-left: 0.5rem;
}

.blog-post-category i {
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

.footer-wave {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-wave .shape-fill {
    fill: var(--color-text-dark);
}

.footer {
    background: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 0 0 1rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-section h3 i {
    color: var(--color-accent);
    font-size: 1.1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--color-accent);
}

.footer-logo h3 {
    margin: 0;
    color: var(--color-white);
    font-size: 1.5rem;
}

.footer-description {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--color-white);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.15);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-link.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.social-link.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.social-link.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-right: 0.5rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--color-accent);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.3);
}

.contact-icon i {
    color: var(--color-white);
    font-size: 1.1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-info a,
.contact-info span {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--color-accent);
}

.footer-newsletter {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 10px 40px rgba(125, 83, 222, 0.3);
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.newsletter-text>i {
    font-size: 3rem;
    color: var(--color-white);
    opacity: 0.9;
}

.newsletter-text h4 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
}

.newsletter-form button {
    padding: 0.875rem 2rem;
    background: var(--color-white);
    color: var(--color-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--color-accent);
    color: var(--color-white);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom i {
    color: var(--color-accent);
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.trust-badge:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-text {
        flex-direction: column;
    }
    .newsletter-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-wave svg {
        height: 60px;
    }
    .social-links {
        justify-content: center;
    }
    .footer-section {
        text-align: center;
    }
    .footer-section h3 {
        justify-content: center;
    }
    .footer-links a {
        justify-content: center;
    }
    .contact-item {
        justify-content: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-wave svg {
        height: 40px;
    }
    .newsletter-content {
        padding: 1.5rem;
    }
    .newsletter-text>i {
        font-size: 2rem;
    }
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    .trust-badge {
        height: 50px;
    }
}

.hero-section {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-image {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( 135deg, rgba(125, 83, 222, 0.85) 0%, rgba(52, 246, 242, 0.75) 50%, rgba(120, 227, 253, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.title-highlight {
    display: inline-block;
    background: linear-gradient(90deg, #fff 0%, #d1f5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons-center {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 220px;
}

.btn-hero.primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-hero.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: var(--color-bg-light-1);
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.hero-features-center {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.75rem;
    border-radius: 50px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-feature i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-width: 200px;
    }
    .hero-buttons-center {
        flex-direction: column;
        align-items: center;
    }
    .hero-features-center {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .hero-feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--color-white);
    opacity: 0.8;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-20px) translateX(20px);
    }
}

@media (max-width: 1024px) {
    .hero-section {
        height: 600px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .title-line {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 550px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .title-line {
        font-size: 1.75rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    .hero-features {
        gap: 1rem;
    }
    .hero-feature {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 500px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .title-line {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-feature {
        width: 100%;
    }
    .scroll-indicator {
        display: none;
    }
}

.workout-welcome {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-white);
}

.welcome-content i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.welcome-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.welcome-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.order-card.order-paid {
    border-color: var(--color-primary);
}

.order-header {
    background: var(--color-bg-light-1);
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-id {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-status {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending_info,
.status-pending_photos,
.status-pending_payment {
    background: #fef3c7;
    color: #92400e;
}

.status-paid,
.status-in_progress {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.order-body {
    padding: 1.5rem;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.order-footer {
    padding: 1.25rem;
    background: var(--color-bg-light-1);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.workout-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
}

.step.active,
.step.completed {
    opacity: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-border);
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.step.completed .step-number {
    background: #10b981;
    color: var(--color-white);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.workout-form {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--color-border);
}

.form-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section h3 i {
    color: var(--color-primary);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-check input {
    width: 20px;
    height: 20px;
}

.photo-instructions li {
    padding: 0.5rem 0;
    padding-right: 1.5rem;
    position: relative;
}

.photo-instructions li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.payment-container {
    max-width: 700px;
    margin: 0 auto;
}

.payment-summary,
.payment-info {
    background: var(--color-white);
    border-radius: 16px;
    border: 2px solid var(--color-border);
    padding: 2rem;
    margin-bottom: 2rem;
}

.payment-summary h3,
.payment-info h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-bg-light-1);
}

.summary-item.total {
    border-bottom: none;
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
}

.payment-info ul {
    list-style: none;
    padding: 0;
}

.payment-info li {
    padding: 0.75rem 0;
    padding-right: 2rem;
    position: relative;
}

.payment-info li i {
    position: absolute;
    right: 0;
    color: var(--color-primary);
}

.success-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.success-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-message {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    margin-bottom: 2rem;
}

.payment-details,
.next-steps {
    background: var(--color-white);
    border-radius: 16px;
    border: 2px solid var(--color-border);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: right;
}

.detail-item:last-child {
    border-bottom: none;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.75rem 0;
    padding-right: 2rem;
    position: relative;
    text-align: right;
}

.next-steps li:before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.order-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.status-banner {
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-section {
    background: var(--color-white);
    border-radius: 16px;
    border: 2px solid var(--color-border);
    padding: 2rem;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-full {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-bg-light-1);
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    text-align: center;
}

.photo-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.form-actions,
.payment-actions,
.detail-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-danger {
    background: #ef4444;
    color: var(--color-white);
}

.btn-danger:hover {
    background: #dc2626;
}

@media (max-width: 768px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }
    .progress-steps {
        gap: 1rem;
    }
    .step-label {
        font-size: 0.75rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .form-actions,
    .payment-actions,
    .detail-actions {
        flex-direction: column;
    }
}

.content-box {
    line-height: 1.8;
    width: 90%;
    margin: 0 auto;
}

.product-detail-section {
    padding: 2rem 0 4rem;
    background: var(--color-white);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-product-image {
    width: 100%;
    height: 550px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.main-product-image:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.main-product-image:hover img {
    transform: scale(1.05);
}

.product-badge-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: var(--color-white);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-badge-out-of-stock {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail-item {
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--color-white);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.thumbnail-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.thumbnail-item.active {
    border-color: var(--color-primary);
    border-width: 3px;
    box-shadow: 0 4px 20px var(--color-shadow);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-meta-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.category-tag {
    background: var(--color-bg-light-1);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.brand-tag {
    background: var(--color-bg-light-2);
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.meta-tag i {
    font-size: 0.9rem;
}

.product-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.3;
    margin: 0;
}

.product-rating-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--color-bg-light-1);
    border-radius: 12px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-stars i {
    font-size: 1.1rem;
}

.star-filled {
    color: #fbbf24;
}

.star-empty {
    color: #d1d5db;
}

.rating-number {
    margin-right: 0.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.reviews-count {
    color: var(--color-text-gray);
    font-size: 0.9rem;
}

.product-short-description {
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--color-bg-light-1) 0%, var(--color-bg-light-2) 100%);
    border-right: 4px solid var(--color-accent);
    border-radius: 12px;
    line-height: 1.8;
    display: flex;
    gap: 1rem;
}

.product-short-description i {
    color: var(--color-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.product-price-box {
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 16px;
    color: var(--color-white);
    box-shadow: 0 8px 30px var(--color-shadow);
}

.price-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

.price-values {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-original {
    font-size: 1.1rem;
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 2rem;
}

.discount-info {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.discount-info i {
    font-size: 1.1rem;
}

.product-stock-box {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--color-border);
}

.stock-available i {
    font-size: 1.5rem;
}

.stock-available strong {
    display: block;
    font-size: 1.1rem;
}

.stock-available span {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-gray);
}

.stock-unavailable i {
    font-size: 1.5rem;
}

.add-to-cart-section {
    display: flex;
    gap: 1rem;
}

.quantity-selector-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-selector-box label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.quantity-controls {
    display: flex;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
}

.qty-btn:active {
    transform: scale(0.95);
}

#productQuantity {
    width: 70px;
    text-align: center;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.btn-add-to-cart {
    flex: 1;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    padding: 0 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px var(--color-shadow);
}

.btn-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--color-shadow);
}

.btn-add-to-cart:active {
    transform: translateY(-1px);
}

.btn-add-to-cart.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-add-to-cart.btn-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.out-of-stock-notice {
    padding: 1.5rem;
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #92400e;
    font-weight: 600;
}

.out-of-stock-notice i {
    font-size: 1.5rem;
    color: #f59e0b;
}

.product-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-bg-light-1);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--color-bg-light-2);
    transform: translateX(-5px);
}

.feature-item i {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.product-tabs-container {
    margin-top: 3rem;
    background: var(--color-white);
    border-radius: 20px;
    border: 2px solid var(--color-border);
    overflow: hidden;
}

.tabs-navigation {
    display: flex;
    background: var(--color-bg-light-1);
    border-bottom: 2px solid var(--color-border);
    overflow-x: auto;
}

.tab-nav-btn {
    flex: 1;
    min-width: 150px;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.tab-nav-btn:hover {
    background: var(--color-bg-light-2);
    color: var(--color-primary);
}

.tab-nav-btn.active {
    color: var(--color-primary);
    background: var(--color-white);
}

.tab-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.tab-nav-btn i {
    font-size: 1.1rem;
}

.tabs-content {
    padding: 0;
}

.tab-panel {
    display: none;
    padding: 3rem 2rem;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-box {
    max-width: 900px;
    margin: 0 auto;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-title i {
    color: var(--color-primary);
}

.description-content,
.ingredients-content,
.usage-content {
    line-height: 2;
    color: var(--color-text-dark);
    font-size: 1.05rem;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.review-card {
    padding: 1.5rem;
    background: var(--color-bg-light-1);
    border-radius: 16px;
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--color-text-dark);
}

.review-date {
    font-size: 0.85rem;
    color: var(--color-text-gray);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 1rem;
}

.review-text {
    line-height: 1.8;
    color: var(--color-text-dark);
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-gray);
}

.no-reviews i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--color-border);
}

.no-reviews p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.review-form-box {
    background: var(--color-bg-light-1);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--color-border);
    margin-top: 2rem;
}

.review-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-form-title i {
    color: var(--color-primary);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group label i {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.btn-submit-review {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    align-self: flex-start;
    box-shadow: 0 8px 25px var(--color-shadow);
}

.btn-submit-review:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--color-shadow);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-product-link {
    display: block;
    text-decoration: none;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.1);
}

.related-product-image .no-image {
    color: var(--color-text-light);
    font-size: 3rem;
}

.related-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: var(--color-white);
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.related-price-old {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.related-price-new {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.related-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.related-product-card:hover .related-product-btn {
    gap: 0.75rem;
}

.related-product-btn i {
    transition: transform 0.3s ease;
}

.related-product-card:hover .related-product-btn i {
    transform: translateX(-3px);
}

@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-gallery {
        position: relative;
        top: 0;
    }
    .main-product-image {
        height: 450px;
    }
    .product-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-detail-title {
        font-size: 1.5rem;
    }
    .main-product-image {
        height: 350px;
    }
    .product-thumbnails {
        gap: 0.5rem;
    }
    .thumbnail-item {
        width: 70px;
        height: 70px;
    }
    .price-current {
        font-size: 1.5rem;
    }
    .add-to-cart-section {
        flex-direction: column;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .tabs-navigation {
        overflow-x: auto;
    }
    .tab-nav-btn {
        min-width: 120px;
        font-size: 0.9rem;
        padding: 1rem;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .product-detail-section {
        padding: 1rem 0 2rem;
    }
    .product-detail-title {
        font-size: 1.25rem;
    }
    .main-product-image {
        height: 300px;
    }
    .product-thumbnails {
        display: none;
    }
    .product-meta-tags {
        flex-direction: column;
    }
    .meta-tag {
        width: 100%;
        justify-content: center;
    }
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .price-current {
        font-size: 1.75rem;
    }
    .related-products-grid {
        grid-template-columns: 1fr;
    }
    .tab-panel {
        padding: 2rem 1rem;
    }
}

@media (max-width: 1024px) {
    .filter-toggle {
        display: flex;
        align-items: center;
    }
    .products-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--color-white);
        z-index: 1000;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    .products-sidebar.active {
        right: 0;
    }
    .sidebar-close {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }
    .sidebar-close i {
        font-size: 1.5rem;
        color: var(--color-text-dark);
        cursor: pointer;
        padding: 0.5rem;
    }
    body.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .header-stats {
        width: 100%;
        justify-content: center;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 1.75rem;
    }
    .header-stats {
        flex-direction: column;
        width: 100%;
    }
    .stat-box {
        width: 100%;
        justify-content: center;
    }
    .products-filters-bar {
        flex-wrap: wrap;
    }
    .sort-box {
        width: 100%;
        justify-content: space-between;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-card-image {
        height: 200px;
    }
    .pagination-pages {
        display: none;
    }
}

@media (max-width: 576px) {
    .products-page-header {
        padding: 2rem 0;
    }
    .header-text h1 {
        font-size: 1.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card-image {
        height: 250px;
    }
    .products-filters-bar {
        padding: 1rem;
    }
    .products-count {
        flex: 1;
    }
}

.products-pagination-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
    margin-top: 2rem;
}

.pagination-info strong {
    color: var(--color-primary);
    font-weight: 700;
}

.pagination-first,
.pagination-last {
    width: 45px;
    padding: 0.75rem;
    justify-content: center;
}

.pagination-first:hover:not(.disabled),
.pagination-last:hover:not(.disabled) {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.pagination-ellipsis {
    padding: 0 0.5rem;
    color: var(--color-text-gray);
    font-weight: 700;
    user-select: none;
}

.pagination-jump {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-bg-light-2);
    border-radius: 10px;
}

.pagination-jump label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.pagination-jump label i {
    color: var(--color-secondary);
}

.pagination-jump input {
    width: 80px;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pagination-jump input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(125, 83, 222, 0.1);
}

.pagination-jump input.error-shake {
    animation: shake 0.5s;
    border-color: #ef4444;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.jump-btn {
    padding: 0.75rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jump-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--color-shadow);
}

.jump-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .products-pagination-wrapper {
        gap: 1rem;
    }
    .pagination-info {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    .products-pagination {
        gap: 0.35rem;
    }
    .pagination-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    .pagination-page {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }
    .pagination-first,
    .pagination-last {
        width: 38px;
        padding: 0.65rem;
    }
    .pagination-prev span,
    .pagination-next span {
        display: none;
    }
    .pagination-jump {
        flex-wrap: wrap;
        justify-content: center;
    }
    .pagination-jump label {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .pagination-pages {
        display: none;
    }
    .pagination-first,
    .pagination-last {
        display: none;
    }
    .products-pagination {
        justify-content: space-between;
        width: 100%;
    }
    .pagination-btn {
        flex: 1;
        justify-content: center;
    }
    .pagination-info {
        font-size: 0.85rem;
    }
}

.products-pagination-wrapper.loading {
    opacity: 0.5;
    pointer-events: none;
}

.products-pagination-wrapper.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.products-page-header {
    background: var(--gradient-primary);
    padding: 3rem 0;
    margin-bottom: 2rem;
    color: var(--color-white);
}

.header-text h1 i {
    font-size: 2rem;
}

.header-description {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.header-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 150px;
}

.stat-box i {
    font-size: 2rem;
}

.stat-box strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-box span {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.products-section {
    padding: 2rem 0 4rem;
}

.products-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-toggle {
    display: none;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-toggle:hover {
    background: var(--color-accent);
}

.filter-toggle i {
    margin-left: 0.5rem;
}

.products-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-gray);
    font-weight: 600;
}

.products-count i {
    color: var(--color-primary);
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-box label {
    color: var(--color-text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-box label i {
    color: var(--color-primary);
}

.sort-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--color-white);
    min-width: 150px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(125, 83, 222, 0.1);
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.products-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-close {
    display: none;
}

.filter-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

.filter-title i {
    color: var(--color-primary);
}

.category-filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-filter-item:hover {
    background: var(--color-bg-light-1);
    border-color: var(--color-border);
}

.category-filter-item.active {
    background: var(--gradient-primary);
    color: var(--color-white);
    font-weight: 700;
    border-color: var(--color-primary);
}

.category-filter-item i {
    margin-left: 0.75rem;
    font-size: 0.9rem;
}

.category-filter-item span {
    flex: 1;
}

.category-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.category-filter-item.active .category-count {
    background: rgba(255, 255, 255, 0.3);
}

.featured-products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-product-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--color-bg-light-1);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.featured-product-item:hover {
    background: var(--color-bg-light-2);
    border-color: var(--color-accent);
    transform: translateX(-3px);
}

.featured-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-white);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.featured-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.featured-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.featured-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-price .price-old {
    font-size: 0.6rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.featured-price .price-new {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
}

.sidebar-banner {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.sidebar-banner i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sidebar-banner h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sidebar-banner p {
    opacity: 0.9;
    margin-bottom: 1rem;
}

.banner-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.products-main {
    min-height: 500px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card-modern {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.badge-out-of-stock {
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-white);
}

.product-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    display: block;
    overflow: hidden;
    background: var(--color-bg-light-1);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: all 0.3s ease;
}

.product-card-image .main-img {
    display: block;
}

.product-card-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-card-modern:hover .product-card-image .main-img {
    opacity: 0;
}

.product-card-modern:hover .product-card-image .hover-img {
    opacity: 1;
}

.product-card-modern:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-info {
    padding: 1.25rem;
}

.product-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.875rem;
    background: var(--color-bg-light-1);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-card-title {
    margin-bottom: 0.75rem;
}

.product-card-title a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card-modern:hover .product-card-title a {
    color: var(--color-primary);
}

.product-rating .rating-text {
    margin-right: 0.5rem;
    color: var(--color-text-gray);
    font-size: 0.85rem;
}

.product-stock-status {
    margin-bottom: 1rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-available {
    background: #d1fae5;
    color: #065f46;
}

.stock-unavailable {
    background: #fee2e2;
    color: #991b1b;
}

.product-card-price {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--color-bg-light-1);
    border-radius: 10px;
}

.product-card-price .price-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.price-discount {
    padding: 0.25rem 0.75rem;
    background: #ef4444;
    color: var(--color-white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-gray);
}

.product-card-actions {
    display: flex;
    gap: 0.75rem;
}

.add-to-cart-form {
    flex: 1;
}

.btn-add-to-cart-list {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-add-to-cart-list:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--color-shadow);
}

.btn-out-of-stock {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #e5e7eb;
    color: #6b7280;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-view-details {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light-2);
    color: var(--color-primary);
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-view-details:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.products-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.pagination-page {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-text-dark);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.pagination-page:hover:not(.active) {
    background: var(--color-bg-light-1);
    border-color: var(--color-primary);
}

.pagination-page.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.products-empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.products-empty-state h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.products-empty-state p {
    color: var(--color-text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-back-products {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-back-products:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--color-shadow);
}

@media (max-width: 1024px) {
    .filter-toggle {
        display: flex;
        align-items: center;
    }
    .products-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--color-white);
        z-index: 1000;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }
    .products-sidebar.active {
        right: 0;
    }
    .sidebar-close {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 1rem;
    }
    .sidebar-close i {
        font-size: 1.5rem;
        color: var(--color-text-dark);
        cursor: pointer;
        padding: 0.5rem;
    }
    body.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    .products-layout {
        grid-template-columns: 1fr;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .header-stats {
        width: 100%;
        justify-content: center;
    }
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 1.75rem;
    }
    .header-stats {
        flex-direction: column;
        width: 100%;
    }
    .stat-box {
        width: 100%;
        justify-content: center;
    }
    .products-filters-bar {
        flex-wrap: wrap;
    }
    .sort-box {
        width: 100%;
        justify-content: space-between;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .product-card-image {
        height: 200px;
    }
    .pagination-pages {
        display: none;
    }
}

@media (max-width: 576px) {
    .products-page-header {
        padding: 2rem 0;
    }
    .header-text h1 {
        font-size: 1.5rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-card-image {
        height: 250px;
    }
    .products-filters-bar {
        padding: 1rem;
    }
    .products-count {
        flex: 1;
    }
}

.pagination-wrapper {
    margin-top: 3rem;
    padding: 2rem 0;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pagination-btn {
    padding: 0.875rem 1.5rem;
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-num {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-text-dark);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.page-num:hover:not(.active) {
    background: var(--color-bg-light-1);
    border-color: var(--color-primary);
}

.page-num.active {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.3);
}

.btn-add-to-cart-list.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #10b981 !important;
}

.btn-add-to-cart-list.btn-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #ef4444 !important;
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .pagination-numbers {
        max-width: 250px;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .pagination-btn {
        padding: 0.75rem 1.25rem;
    }
    .page-num {
        min-width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .pagination-container {
        flex-wrap: wrap;
    }
    .pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

.simple-pagination {
    margin: 4rem 0 3rem;
    padding: 2rem 0;
    border-top: 2px solid var(--color-border);
}

.pagination-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-buttons>a {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.2);
    position: relative;
    overflow: hidden;
}

.pagination-buttons>a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.pagination-buttons>a:hover::before {
    left: 100%;
}

.pagination-buttons>a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.4);
}

.pagination-buttons>a:active {
    transform: translateY(-1px);
}

.pagination-pages {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0 1rem;
}

.pagination-pages a,
.pagination-pages span {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-text-dark);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
}

.pagination-pages a:hover {
    background: var(--color-bg-light-1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: scale(1.1);
}

.pagination-pages span.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(125, 83, 222, 0.4);
    transform: scale(1.15);
    animation: activePagePulse 2s ease-in-out infinite;
}

@keyframes activePagePulse {
    0%,
    100% {
        box-shadow: 0 4px 20px rgba(125, 83, 222, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(125, 83, 222, 0.6);
    }
}

@media (max-width: 768px) {
    .simple-pagination {
        margin: 3rem 0 2rem;
    }
    .pagination-buttons {
        gap: 0.75rem;
    }
    .pagination-buttons>a {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    .pagination-pages {
        padding: 0 0.5rem;
    }
    .pagination-pages a,
    .pagination-pages span {
        min-width: 45px;
        height: 45px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .pagination-buttons {
        gap: 0.5rem;
    }
    .pagination-buttons>a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        flex: 1;
        justify-content: center;
    }
    .pagination-pages {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
        padding: 0;
    }
    .pagination-pages a,
    .pagination-pages span {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

.pagination-info {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-gray);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pagination-info i {
    color: var(--color-primary);
    font-size: 1.1rem;
}

.pagination-loading {
    pointer-events: none;
    opacity: 0.6;
}

.pagination-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.simple-pagination * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@media (max-width: 1024px) {
    .related-product-image {
        height: 240px;
    }
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .related-products-section {
        margin: 3rem 0;
        padding: 2rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .related-product-image {
        height: 220px;
    }
    .related-product-info {
        padding: 1.25rem;
    }
    .price-current {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .related-products-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .related-product-image {
        height: 200px;
    }
    .related-product-info {
        padding: 1rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    .swiper-button-next i,
    .swiper-button-prev i {
        font-size: 1rem;
    }
}

.price-current-product {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-white);
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.related-products-section {
    margin: 5rem 0 3rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.related-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(125, 83, 222, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(52, 246, 242, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
}

.related-products-slider {
    padding: 1rem 0 3.5rem;
    position: relative;
}

.swiper-wrapper {
    align-items: stretch;
}

.related-product-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(125, 83, 222, 0.2);
    border-color: #7d53de;
}

.related-product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f3f4f6;
    display: block;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.related-product-image .main-img {
    opacity: 1;
    position: relative;
    z-index: 1;
}

.related-product-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.related-product-card:hover .main-img {
    opacity: 0;
}

.related-product-card:hover .hover-img {
    opacity: 1;
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: #f9fafb;
}

.no-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.3;
}

.product-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

.badge-featured {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
}

.badge-discount {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.related-product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: #f3f4f6;
    color: #7d53de;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
}

.product-category i {
    font-size: 0.75rem;
}

.related-product-card:hover .product-category {
    background: #ede9fe;
    color: #6d28d9;
}

.related-product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1;
    min-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-product-name a:hover {
    color: #7d53de;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    min-height: 1rem;
}

.product-rating i {
    color: #fbbf24;
    font-size: 0.85rem;
}

.product-rating .far.fa-star {
    color: #d1d5db;
}

.product-rating .rating-count {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.4rem;
}

.related-product-price {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid #f3f4f6;
    min-height: 3rem;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.price-discount-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-current {
    font-size: 1rem;
    font-weight: 800;
    color: #7d53de;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    line-height: 1;
}

.price-current .currency {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
}

.btn-view-product {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.3);
}

.btn-view-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.45);
}

.btn-view-product i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-view-product:hover i {
    transform: translateX(-4px);
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: none;
}

.swiper-button-next i,
.swiper-button-prev i {
    font-size: 1.2rem;
    color: #7d53de;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    border-color: #7d53de;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.3);
}

.swiper-button-next:hover i,
.swiper-button-prev:hover i {
    color: #ffffff;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 1024px) {
    .related-product-image {
        height: 240px;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .related-product-info {
        padding: 1.25rem;
        gap: 0.85rem;
    }
}

@media (max-width: 768px) {
    .related-products-section {
        margin: 3rem 0 2rem;
        padding: 2rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .related-product-image {
        height: 220px;
    }
    .related-product-info {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    .price-current {
        font-size: 1.4rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    .swiper-button-next i,
    .swiper-button-prev i {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .related-products-section {
        margin: 2rem 0 1.5rem;
        padding: 1.5rem 0;
    }
    .section-header {
        margin-bottom: 1.5rem;
    }
    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .section-title i {
        font-size: 1.5rem;
    }
    .section-subtitle {
        font-size: 0.85rem;
    }
    .related-products-slider {
        padding: 0.5rem 0 3rem;
    }
    .related-product-image {
        height: 200px;
    }
    .related-product-info {
        padding: 1rem;
        gap: 0.65rem;
    }
    .related-product-name {
        font-size: 1rem;
        min-height: auto;
    }
    .price-current {
        font-size: 1.3rem;
    }
    .btn-view-product {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    .swiper-button-next i,
    .swiper-button-prev i {
        font-size: 1rem;
    }
}

.cart-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cart-header h1 i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-count {
    color: #6b7280;
    font-size: 1.05rem;
    font-weight: 500;
}

.messages-container {
    margin-bottom: 2rem;
}

.alert {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    animation: slideIn 0.3s ease-out;
    width: 50%;
    margin: 20px auto;
    text-align: center !important;
    padding: 1% 10%;
}

.alert i {
    margin-left: 0.75rem;
    font-size: 1.2rem;
}

.alert-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: all 0.3s ease;
}

.alert-close:hover {
    transform: scale(1.2);
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateY(-20px);
        opacity: 0;
    }
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.cart-items-container {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr 80px;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.header-product {
    text-align: right;
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr 80px;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #f3f4f6;
    border-radius: 12px;
    margin-bottom: 1rem;
    align-items: center;
    transition: all 0.3s ease;
    background: #ffffff;
}

.cart-item:hover {
    border-color: #7d53de;
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.15);
    transform: translateY(-2px);
}

.cart-item-product {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.cart-item-product .product-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
    border: 2px solid #e5e7eb;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cart-item:hover .product-image img {
    transform: scale(1.1);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 2rem;
}

.product-details {
    display: flex;
    gap: 0.5rem;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.product-name a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #7d53de;
}

.product-brand,
.product-category {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.product-brand i,
.product-category i {
    font-size: 0.75rem;
}

.cart-item-price {
    text-align: center;
}

.price-with-discount {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    align-items: center;
}

.price-old {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.price-new {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ef4444;
}

.discount-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-single {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.cart-item-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity .quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0.3rem;
}

.qty-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: #ffffff;
    color: #7d53de;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #7d53de;
    color: #ffffff;
    transform: scale(1.1);
}

.qty-input {
    width: 60px;
    height: 35px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
}

.stock-warning {
    font-size: 0.75rem;
    color: #f59e0b;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.cart-item-total {
    text-align: center;
}

.total-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #7d53de;
}

.cart-item-actions {
    text-align: center;
}

.btn-remove {
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.btn-remove:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.btn-continue-shopping,
.btn-clear-cart {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-continue-shopping {
    background: transparent;
    color: #7d53de;
    border-color: #7d53de;
}

.btn-continue-shopping:hover {
    background: #7d53de;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(125, 83, 222, 0.3);
}

.btn-clear-cart {
    background: transparent;
    color: #ef4444;
    border-color: #ef4444;
}

.btn-clear-cart:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.summary-header {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-header i {
    font-size: 1.5rem;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.summary-body {
    padding: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-label {
    color: #6b7280;
    font-weight: 500;
}

.summary-value {
    font-weight: 700;
    color: #1f2937;
}

.shipping-free {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.discount-row {
    color: #ef4444;
}

.discount-value {
    color: #ef4444;
}

.summary-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 1rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.total-value {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-checkout {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.3);
    margin-top: 1rem;
}

.btn-checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.4);
}

.btn-checkout i {
    font-size: 1.2rem;
}

.secure-badge {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.secure-badge i {
    color: #10b981;
    font-size: 1rem;
}

.payment-methods {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.payment-methods h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.payment-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-icon:hover {
    background: #ede9fe;
    transform: translateY(-3px);
}

.payment-icon i {
    font-size: 1.5rem;
    color: #7d53de;
}

.payment-icon span {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
}

.trust-badges {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-badge i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.trust-badge div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.trust-badge strong {
    font-size: 0.9rem;
    color: #1f2937;
}

.trust-badge span {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 0.6rem;
}

.empty-cart {
    text-align: center;
    padding: 5rem 2rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
}

.empty-icon i {
    font-size: 3.5rem;
    color: #9ca3af;
}

.empty-cart h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.empty-cart p {
    font-size: 1.05rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.btn-browse-products {
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.3);
}

.btn-browse-products:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.4);
}

@media (max-width: 1200px) {
    .cart-layout {
        grid-template-columns: 1fr 350px;
    }
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .order-summary {
        order: -1;
    }
}

@media (max-width: 768px) {
    .cart-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .cart-items-container {
        padding: 1rem;
    }
    .cart-table-header {
        display: none;
    }
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    .cart-item-product {
        flex-direction: column;
    }
    .product-image {
        width: 120px;
        height: 120px;
    }
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .btn-continue-shopping,
    .btn-clear-cart {
        width: 100%;
        justify-content: center;
    }
    .payment-icons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .cart-section {
        padding: 2rem 0;
    }
    .cart-header h1 {
        font-size: 1.5rem;
    }
    .product-image {
        width: 100px;
        height: 100px;
    }
    .summary-body {
        padding: 1rem;
    }
    .payment-icons {
        gap: 0.5rem;
    }
    .trust-badges {
        padding: 1rem;
    }
}

.detail-section h3 {
    margin: 30px 0px;
    color: var(--color-primary);
}

.detail-actions a {
    padding: 1rem 1.5rem;
}

.form-actions a,
.form-actions button {
    padding: 1rem 1.5rem;
}

.payment-actions a {
    padding: 1rem 1.5rem;
}

.photo-instructions {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    border-right: 4px solid var(--color-primary);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.photo-instructions h3 {
    color: var(--color-text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.photo-instructions h3 i {
    color: var(--color-primary);
}

.photo-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.photo-instructions ul li {
    padding: 8px 0;
    padding-right: 24px;
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.photo-instructions ul li:before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--color-success);
    font-weight: bold;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.photo-upload-box {
    background: white;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.photo-upload-box:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(125, 83, 222, 0.1);
}

.photo-preview {
    width: 100%;
    height: 300px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
}

.photo-preview i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 12px;
}

.photo-preview span {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload-box input[type="file"] {
    display: none;
}

.photo-upload-box .btn {
    width: 100%;
    max-width: 200px;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header .btn-small {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-header .btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.3);
}

.workout-day-card {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.day-card-header {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-remove-day {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-day:hover {
    background: rgba(255, 255, 255, 0.3);
}

.day-card-body {
    padding: 1.5rem;
}

.exercises-section {
    margin-top: 1.5rem;
}

.exercises-header {
    margin-bottom: 1rem;
}

.exercises-header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.exercises-header i {
    color: #7d53de;
}

.exercises-list-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exercise-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.exercise-card-header {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.exercise-drag-handle {
    cursor: grab;
    color: #9ca3af;
    font-size: 1.2rem;
}

.exercise-drag-handle:active {
    cursor: grabbing;
}

.exercise-card-info {
    flex: 1;
}

.exercise-card-info h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.exercise-muscle-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: #ede9fe;
    color: #7d53de;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-remove-exercise {
    background: transparent;
    border: 2px solid #ef4444;
    color: #ef4444;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-exercise:hover {
    background: #ef4444;
    color: #ffffff;
}

.exercise-card-body {
    padding: 1.5rem;
}

.exercise-params {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.param-group {
    display: flex;
    flex-direction: column;
}

.param-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.param-input {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
    font-weight: 700;
    color: #1f2937;
}

.param-input:focus {
    outline: none;
    border-color: #7d53de;
}

.form-actions .btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
}

.form-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.4);
}

.form-actions .btn-secondary {
    background: transparent;
    border: 2px solid #7d53de;
    color: #7d53de;
}

.form-actions .btn-secondary:hover {
    background: #7d53de;
    color: #ffffff;
}

.toast-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification i {
    font-size: 1.3rem;
}

@media (max-width: 1200px) {
    .plan-creator-layout {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 992px) {
    .plan-creator-layout {
        grid-template-columns: 1fr;
    }
    .exercises-library {
        position: static;
        max-height: 400px;
    }
    .meals-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .creator-main {
        padding: 1.5rem;
    }
    .form-row.two-cols,
    .form-row.four-cols {
        grid-template-columns: 1fr;
    }
    .exercise-params {
        grid-template-columns: 1fr;
    }
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .create-plan-section {
        padding: 2rem 0;
    }
    .creator-main {
        padding: 1rem;
    }
}

.trainer-dashboard {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 80vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.header-text h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
}

.header-text p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0;
}

.header-actions .btn {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-primary);
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.header-actions .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    color: #1f2937;
}

.stat-content p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.stat-badge.success {
    background: #10b981;
}

.stat-badge.warning {
    background: #f59e0b;
}

.stat-badge.info {
    background: #3b82f6;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.5rem;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
}

.tab-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.tab-btn.active {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
}

.tab-badge {
    background: rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.tab-btn.active .tab-badge {
    background: rgba(255, 255, 255, 0.4);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reservations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.reservation-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.reservation-card:hover {
    border-color: #7d53de;
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.15);
    transform: translateY(-5px);
}

.card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    color: #1f2937;
}

.user-meta {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-status {
    flex-shrink: 0;
}

.status-badge.pending {
    background: #fef3c7;
    color: #f59e0b;
}

.status-badge.active {
    background: #d1fae5;
    color: #10b981;
}

.status-badge.draft {
    background: #e5e7eb;
    color: #6b7280;
}

.status-badge.expired {
    background: #fee2e2;
    color: #ef4444;
}

.card-body {
    padding: 1.5rem;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row i {
    width: 20px;
    color: #7d53de;
    font-size: 0.9rem;
}

.detail-row span {
    color: #6b7280;
}

.detail-row strong {
    margin-right: auto;
    color: #1f2937;
    font-weight: 700;
}

.health-conditions {
    margin-top: 1rem;
    padding: 1rem;
    background: #fef3c7;
    border-right: 4px solid #f59e0b;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
}

.health-conditions i {
    color: #f59e0b;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.health-conditions p {
    margin: 0;
    color: #78350f;
    font-size: 0.9rem;
    line-height: 1.6;
}

.user-images {
    margin-top: 1rem;
}

.images-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

.images-label i {
    color: #7d53de;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}

.image-thumb {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.image-thumb:hover {
    border-color: #7d53de;
    transform: scale(1.05);
}

.image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 2px solid #e5e7eb;
    display: flex;
    gap: 1rem;
}

.card-footer .btn {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
}

.card-footer .btn-primary {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    border-color: transparent;
    color: #ffffff;
}

.card-footer .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(125, 83, 222, 0.3);
}

.card-footer .btn-secondary {
    background: transparent;
    border-color: #7d53de;
    color: #7d53de;
}

.card-footer .btn-secondary:hover {
    background: #7d53de;
    color: #ffffff;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.plan-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plan-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    flex-shrink: 0;
}

.plan-icon.draft {
    background: #6b7280;
}

.plan-icon.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.plan-icon.expired {
    background: #9ca3af;
}

.plan-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.3rem 0;
    color: #1f2937;
}

.plan-user {
    font-size: 0.85rem;
    color: #6b7280;
}

.plan-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-badge.draft {
    background: #e5e7eb;
    color: #6b7280;
}

.plan-badge.active {
    background: #d1fae5;
    color: #10b981;
}

.plan-badge.expired {
    background: #fee2e2;
    color: #ef4444;
}

.plan-body {
    padding: 1.5rem;
}

.plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.plan-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.plan-meta i {
    color: #7d53de;
}

.plan-progress {
    margin-top: 1rem;
}

.plan-footer {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 2px solid #e5e7eb;
    display: flex;
    gap: 0.75rem;
}

.plan-footer .btn {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.plan-footer .btn-danger {
    flex: 0;
    width: 45px;
    padding: 0.75rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
}

.plan-footer .btn-danger:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .reservations-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    .header-content {
        flex-direction: column;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }
    .tab-btn {
        justify-content: flex-start;
    }
    .card-footer {
        flex-direction: column;
    }
    .plan-footer {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .trainer-dashboard {
        padding: 2rem 0;
    }
    .dashboard-header {
        padding: 1.5rem;
    }
    .header-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .header-text h1 {
        font-size: 1.5rem;
    }
    .reservations-grid,
    .plans-grid {
        gap: 1rem;
    }
}

.user-plans-dashboard {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 80vh;
}

.notifications-section {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.notifications-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.notifications-header i {
    color: #7d53de;
    font-size: 1.3rem;
}

.notifications-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
}

.notifications-count {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-right: auto;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.notification-card.unread {
    background: #ede9fe;
    border-color: #7d53de;
}

.notification-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.15);
}

.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.notification-icon.plan_created {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.notification-icon.payment_request {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.notification-icon.payment_confirmed {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.notification-icon.plan_expiring {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.notification-content {
    flex: 1;
}

.notification-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.notification-content p {
    margin: 0 0 0.25rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.notification-time {
    font-size: 0.8rem;
    color: #9ca3af;
}

.btn-mark-read {
    background: transparent;
    border: 2px solid #7d53de;
    color: #7d53de;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-mark-read:hover {
    background: #7d53de;
    color: #ffffff;
}

.plans-section {
    margin-top: 2rem;
}

.creator-main .section-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 30%;
    margin: 1% 35%;
}

.section-header i {
    color: #7d53de;
}

.user-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.user-plan-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.user-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(125, 83, 222, 0.15);
}

.user-plan-card.locked {
    opacity: 0.9;
}

.user-plan-card.expired {
    opacity: 0.7;
}

.user-plan-card .plan-header {
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e5e7eb;
}

.plan-status-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-status-badge.draft {
    background: #e5e7eb;
    color: #6b7280;
}

.plan-status-badge.pending_payment {
    background: #fef3c7;
    color: #f59e0b;
}

.plan-status-badge.active {
    background: #d1fae5;
    color: #10b981;
}

.plan-status-badge.expired {
    background: #fee2e2;
    color: #ef4444;
}

.locked-badge {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
}

.user-plan-card .plan-body {
    padding: 2rem;
    text-align: center;
}

.plan-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
}

.user-plan-card .plan-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.plan-trainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.plan-trainer i {
    color: #7d53de;
}

.plan-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.meta-item i {
    color: #7d53de;
    font-size: 1.2rem;
}

.meta-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

.plan-progress-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.progress-header span {
    font-size: 0.9rem;
    color: #6b7280;
}

.progress-header strong {
    font-size: 1.1rem;
    color: #7d53de;
    font-weight: 700;
}

.plan-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.user-plan-card .plan-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 2px solid #e5e7eb;
    display: flex;
    gap: 1rem;
}

.user-plan-card .plan-footer .btn {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.user-plan-card .plan-footer .btn-primary {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    border-color: transparent;
    color: #ffffff;
}

.user-plan-card .plan-footer .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(125, 83, 222, 0.4);
}

.user-plan-card .plan-footer .btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: transparent;
    color: #ffffff;
}

.user-plan-card .plan-footer .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.user-plan-card .plan-footer .btn-secondary {
    background: transparent;
    border-color: #7d53de;
    color: #7d53de;
}

.user-plan-card .plan-footer .btn-secondary:hover {
    background: #7d53de;
    color: #ffffff;
}

.plan-view-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 80vh;
}

.plan-view-header {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.header-meta {
    display: flex;
    gap: 1.5rem;
}

.header-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.95;
}

.expiry-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expiry-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.expiry-content {
    display: flex;
    flex-direction: column;
}

.expiry-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.expiry-days {
    font-size: 1.8rem;
    font-weight: 800;
}

.view-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.5rem;
}

.view-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.view-tab:hover {
    background: #f3f4f6;
}

.view-tab.active {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
}

.view-tab-content {
    display: none;
}

.view-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.plan-info-card {
    background: #ede9fe;
    border-right: 4px solid #7d53de;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.plan-info-card i {
    color: #7d53de;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.plan-info-card p {
    margin: 0;
    color: #5b21b6;
    line-height: 1.6;
}

.workout-day-section {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.day-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.day-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.day-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.day-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
}

.btn-toggle-day {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-toggle-day:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-toggle-day i {
    transition: transform 0.3s ease;
}

.day-body {
    padding: 2rem;
}

.day-notes {
    background: #fef3c7;
    border-right: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.day-notes i {
    color: #f59e0b;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.day-notes p {
    margin: 0;
    color: #78350f;
    line-height: 1.6;
}

.exercises-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exercise-card-view {
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.exercise-card-view:hover {
    border-color: #7d53de;
    box-shadow: 0 4px 15px rgba(125, 83, 222, 0.15);
}

.exercise-header-view {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.exercise-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.exercise-info-view {
    flex: 1;
}

.exercise-info-view h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
}

.btn-play-video {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-play-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(125, 83, 222, 0.4);
}

.exercise-details-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.detail-item i {
    color: #7d53de;
    font-size: 1.2rem;
}

.detail-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.detail-item strong {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2937;
}

.btn-timer {
    margin-top: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: #7d53de;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-timer:hover {
    transform: scale(1.05);
}

.exercise-notes-view {
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.exercise-notes-view i {
    color: #7d53de;
    flex-shrink: 0;
}

.exercise-notes-view p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

.exercise-complete {
    text-align: center;
    margin-top: 1rem;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    background: #ede9fe;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid #7d53de;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked~.checkmark {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    border-color: transparent;
}

.checkbox-container input:checked~.checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 14px;
}

.nutrition-goals-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.nutrition-goals-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nutrition-goals-card h3 i {
    color: #7d53de;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.nutrition-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nutrition-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
}

.nutrition-icon.calories {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.nutrition-icon.protein {
    background: linear-gradient(135deg, #7d53de 0%, #6d28d9 100%);
}

.nutrition-icon.carbs {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.nutrition-icon.fat {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.nutrition-content {
    display: flex;
    flex-direction: column;
}

.nutrition-label {
    font-size: 0.85rem;
    color: #6b7280;
}

.nutrition-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937;
}

.meals-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.meal-card-view {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.meal-time-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meal-icon-large {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    flex-shrink: 0;
}

.meal-icon-large.breakfast {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.meal-icon-large.lunch {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.meal-icon-large.dinner {
    background: linear-gradient(135deg, #7d53de 0%, #6d28d9 100%);
}

.meal-icon-large.morning_snack,
.meal-icon-large.afternoon_snack,
.meal-icon-large.evening_snack {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.meal-content {
    flex: 1;
}

.meal-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.meal-content h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #7d53de;
    margin: 0 0 1rem 0;
}

.meal-content p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.meal-notes {
    background: #fef3c7;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #78350f;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.meal-notes i {
    color: #f59e0b;
    flex-shrink: 0;
}

.notes-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.notes-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notes-card h3 i {
    color: #7d53de;
}

.notes-content {
    color: #6b7280;
    line-height: 1.8;
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1;
}

.video-modal-header {
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.btn-close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.video-modal-body {
    padding: 0;
}

.video-modal-body video {
    width: 100%;
    display: block;
}

.timer-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timer-modal.show {
    opacity: 1;
}

.timer-modal-content {
    background: #ffffff;
    border: 3px solid #7d53de;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.timer-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.timer-display {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.timer-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-timer-control {
    width: 60px;
    height: 60px;
    border: none;
    background: linear-gradient(135deg, #7d53de 0%, #78e3fd 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-timer-control:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(125, 83, 222, 0.4);
}

@media (max-width: 992px) {
    .plan-view-header {
        flex-direction: column;
        text-align: center;
    }
    .expiry-card {
        width: 100%;
        justify-content: center;
    }
    .exercise-details-view {
        grid-template-columns: 1fr;
    }
    .nutrition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .user-plans-grid {
        grid-template-columns: 1fr;
    }
    .view-tabs {
        flex-direction: column;
    }
    .meal-card-view {
        flex-direction: column;
        text-align: center;
    }
    .meal-time-badge {
        position: static;
        margin-bottom: 1rem;
    }
    .nutrition-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .user-plans-dashboard,
    .plan-view-section {
        padding: 2rem 0;
    }
    .timer-display {
        font-size: 3rem;
    }
}

.swiper-slide {
    width: 23.5% !important;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
    transition: all 0.4s;
}

.category-card:hover .category-image {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 8px 25px rgba(102, 126, 234, 0.4));
}

.category-icon i.fas {
    font-size: 4rem;
    color: #667eea;
}

.blog-section {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.3);
}

.blog-card-link {
    text-decoration: none;
    display: block;
}

.blog-card-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: #f3f4f6;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.blog-meta-item i {
    color: #667eea;
    font-size: 0.9rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    line-height: 1.5;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: #667eea;
}

.blog-card-excerpt {
    color: #6b7280;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #764ba2;
    gap: 0.75rem;
}

.blog-read-more i {
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.blog-read-more:hover i {
    transform: translateX(-3px);
}

.blog-view-all {
    text-align: center;
}

.btn-view-all-blog {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-view-all-blog:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.btn-view-all-blog i:last-child {
    transition: transform 0.3s;
}

.btn-view-all-blog:hover i:last-child {
    transform: translateX(-5px);
}

.no-blog-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
}

.no-blog-icon {
    font-size: 5rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-blog-icon i {
    opacity: 0.5;
}

.no-blog-posts h3 {
    font-size: 1.75rem;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.no-blog-posts p {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 3rem 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .blog-card-content {
        padding: 1.5rem;
    }
    .blog-card-title {
        font-size: 1.1rem;
    }
    .blog-meta {
        gap: 1rem;
    }
    .btn-view-all-blog {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .blog-card-image {
        padding-top: 70%;
    }
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .blog-card-excerpt {
        -webkit-line-clamp: 2;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-card:nth-child(4) {
    animation-delay: 0.4s;
}

.order-form-section {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    padding: 4rem 0;
}

.form-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.form-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.info-card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-card-header i {
    font-size: 1.75rem;
}

.info-card-header h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

.info-card-body {
    padding: 2rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefits-list li {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.benefits-list li i {
    color: #10b981;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.benefits-list li span {
    color: #4b5563;
    line-height: 1.6;
}

.price-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #667eea, #764ba2);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.price-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
}

.price-amount {
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.price-amount strong {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.price-amount span {
    color: #6b7280;
    font-size: 1.25rem;
}

.price-features {
    list-style: none;
    padding: 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
}

.price-features li i {
    color: #10b981;
    font-size: 1.1rem;
}

.security-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.security-item {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.security-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.security-item i {
    font-size: 2rem;
    color: #667eea;
}

.security-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
}

.form-main {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.workout-order-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #f3f4f6;
}

.form-section-title i {
    color: #667eea;
    font-size: 1.75rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.form-hint {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.radio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-content {
    background: #f9fafb;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.radio-card:hover .radio-card-content {
    border-color: #667eea;
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.radio-card input[type="radio"]:checked+.radio-card-content {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.radio-card-content i {
    font-size: 3rem;
    color: #667eea;
    transition: all 0.3s;
}

.radio-card input[type="radio"]:checked+.radio-card-content i {
    transform: scale(1.2);
    color: #764ba2;
}

.radio-card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.radio-card-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.bmi-calculator {
    margin-top: 2rem;
}

.bmi-result {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border: 2px solid #667eea;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 600;
    color: #1f2937;
    transition: all 0.3s;
}

.bmi-result i {
    font-size: 1.5rem;
    color: #667eea;
}

.bmi-result strong {
    color: #667eea;
    font-size: 1.25rem;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 1rem;
    cursor: pointer;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s;
}

.checkbox-label:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: #667eea;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.terms-link:hover {
    border-bottom-color: #667eea;
}

.btn-submit-order {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-submit-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-submit-order:hover::before {
    left: 100%;
}

.btn-submit-order:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn-submit-order:active {
    transform: translateY(-1px);
}

.form-note {
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.form-note i {
    color: #667eea;
}

@media (max-width: 1200px) {
    .form-layout {
        grid-template-columns: 350px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .form-layout {
        grid-template-columns: 1fr;
    }
    .form-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .order-form-section {
        padding: 2rem 0;
    }
    .form-main {
        padding: 2rem 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .radio-cards {
        grid-template-columns: 1fr;
    }
    .security-badges {
        grid-template-columns: 1fr;
    }
    .form-section-title {
        font-size: 1.25rem;
    }
    .btn-submit-order {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .form-main {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    .price-amount strong {
        font-size: 2.5rem;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section:nth-child(1) {
    animation-delay: 0.1s;
}

.form-section:nth-child(2) {
    animation-delay: 0.2s;
}

.form-section:nth-child(3) {
    animation-delay: 0.3s;
}

.form-section:nth-child(4) {
    animation-delay: 0.4s;
}

.form-section:nth-child(5) {
    animation-delay: 0.5s;
}

.form-control:disabled {
    background: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-submit-order:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-submit-order:disabled:hover {
    transform: none;
}

.stats-dashboard {
    background: white;
    padding: 3rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--stat-color-1), var(--stat-color-2));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: inherit;
    opacity: 0.2;
    transform: scale(1.2);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

.stat-label {
    color: #6b7280;
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
    font-weight: 500;
}

.stat-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-warning {
    --stat-color-1: #f59e0b;
    --stat-color-2: #f97316;
}

.stat-warning .stat-icon {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #f59e0b;
}

.stat-warning .stat-number {
    color: #f59e0b;
}

.stat-warning .stat-badge {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #f59e0b;
}

.stat-info {
    --stat-color-1: #3b82f6;
    --stat-color-2: #06b6d4;
}

.stat-info .stat-icon {
    background: linear-gradient(135deg, #dbeafe, #cffafe);
    color: #3b82f6;
}

.stat-info .stat-number {
    color: #3b82f6;
}

.stat-info .stat-badge {
    background: linear-gradient(135deg, #dbeafe, #cffafe);
    color: #3b82f6;
}

.stat-success {
    --stat-color-1: #10b981;
    --stat-color-2: #059669;
}

.stat-success .stat-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #10b981;
}

.stat-success .stat-number {
    color: #10b981;
}

.stat-success .stat-badge {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #10b981;
}

.stat-primary {
    --stat-color-1: #667eea;
    --stat-color-2: #764ba2;
}

.stat-primary .stat-icon {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    color: #667eea;
}

.stat-primary .stat-number {
    color: #667eea;
}

.stat-primary .stat-badge {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    color: #667eea;
}

.stat-purple {
    --stat-color-1: #8b5cf6;
    --stat-color-2: #6366f1;
}

.stat-purple .stat-icon {
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    color: #8b5cf6;
}

.stat-purple .stat-number {
    color: #8b5cf6;
}

.stat-purple .stat-badge {
    background: linear-gradient(135deg, #ede9fe, #e0e7ff);
    color: #8b5cf6;
}

.stat-gold {
    --stat-color-1: #f59e0b;
    --stat-color-2: #eab308;
}

.stat-gold .stat-icon {
    background: linear-gradient(135deg, #fef3c7, #fef08a);
    color: #f59e0b;
}

.stat-gold .stat-number {
    color: #f59e0b;
}

.stat-gold .stat-badge {
    background: linear-gradient(135deg, #fef3c7, #fef08a);
    color: #f59e0b;
}

.dashboard-content {
    padding: 3rem 0;
}

.dashboard-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
    width: 25%;
    margin: 0.5rem 2.5% 2rem 2.5%;
}

.dashboard-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.section-header-inline {
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-bottom: 2px solid #f3f4f6;
    transition: all 0.3s;
    position: relative;
}

.section-header-inline:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.section-header-inline::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    position: absolute;
    left: 2rem;
    font-size: 1.15rem;
    color: #667eea;
    transition: transform 0.3s;
}

.dashboard-section.collapsed .section-header-inline::after {
    transform: rotate(-180deg);
}

.section-header-inline h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header-inline h2 i {
    color: #667eea;
    font-size: 1.75rem;
}

.count-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.section-content {
    max-height: 5000px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-section.collapsed .section-content {
    max-height: 0;
    opacity: 0;
    padding: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2.5rem;
}

.order-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.order-card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.order-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1rem;
}

.order-number i {
    color: #667eea;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-warning {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #f59e0b;
}

.status-info {
    background: linear-gradient(135deg, #dbeafe, #cffafe);
    color: #3b82f6;
}

.status-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #10b981;
}

.status-primary {
    background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
    color: #667eea;
}

.order-card-body {
    padding: 2rem;
}

.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.info-item i {
    color: #667eea;
    font-size: 1.1rem;
    width: 20px;
}

.order-notes {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #f9fafb;
    border-radius: 12px;
    border-right: 4px solid #667eea;
}

.order-notes i {
    color: #667eea;
    margin-left: 0.5rem;
}

.order-notes p {
    margin: 0.5rem 0 0 0;
    color: #6b7280;
    line-height: 1.6;
}

.order-card-footer {
    padding: 1.5rem 2rem;
    background: #f9fafb;
    border-top: 2px solid #e5e7eb;
}

.btn-create-plan {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-create-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.plan-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.plan-card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.plan-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
}

.plan-card-body {
    padding: 2rem;
}

.plan-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row i {
    color: #667eea;
    width: 20px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 20px;
    transition: width 0.5s;
}

.progress-text {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
    text-align: center;
}

.plan-card-footer {
    padding: 1.5rem 2rem;
    background: #f9fafb;
    border-top: 2px solid #e5e7eb;
    display: flex;
    gap: 1rem;
}

.btn-edit,
.btn-view {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-edit {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-view {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-view:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 5rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1rem;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.empty-state p {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 0;
}

.page-header-actions {
    display: flex;
    gap: 1rem;
}

.header-action-btn {
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.header-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .customer-info-grid {
        grid-template-columns: 1fr;
    }
    .section-header-inline {
        padding: 1.5rem;
    }
    .section-header-inline h2 {
        font-size: 1.25rem;
    }
    .plan-card-footer {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-card:nth-child(5) {
    animation-delay: 0.5s;
}

.stat-card:nth-child(6) {
    animation-delay: 0.6s;
}

.order-card,
.plan-card {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.create-plan-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.create-plan-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 255, 165, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.breadcrumb-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 255, 165, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes slidePattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

@keyframes iconBounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.user-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--energy-orange), var(--power-red), var(--focus-cyan));
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

.user-info-card .card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 255, 165, 0.5), transparent);
}

.info-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--energy-orange), transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-row:hover::before {
    opacity: 1;
}

@keyframes warningPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.library-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 255, 165, 0.5), transparent);
}

@keyframes iconSpin {
    0%,
    90%,
    100% {
        transform: rotate(0deg);
    }
    95% {
        transform: rotate(360deg);
    }
}

.muscle-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 255, 165, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.muscle-tab:hover::before {
    width: 200px;
    height: 200px;
}

.exercise-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--energy-orange), var(--focus-cyan));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.exercise-item:hover::before {
    transform: scaleY(1);
}

.exercise-thumb::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.btn-add-exercise::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--focus-cyan), var(--energy-orange));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-add-exercise:hover::before {
    opacity: 1;
    animation: rotateBorder 2s linear infinite;
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--energy-orange), var(--focus-cyan));
    border-radius: 2px;
}

.day-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--energy-orange), var(--focus-cyan));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.day-card:hover::before {
    transform: scaleY(1);
}

.meal-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent);
    transition: all 0.5s ease;
}

.meal-card:hover::after {
    top: -25%;
    right: -25%;
    transform: scale(1.5);
}

.nutrition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--energy-orange), var(--focus-cyan));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nutrition-card:hover::before {
    transform: scaleX(1);
}

.nutrition-card:hover i {
    transform: rotateY(360deg);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn span {
    position: relative;
    z-index: 1;
}

@media (max-width: 1400px) {
    .plan-creator-layout {
        grid-template-columns: 380px 1fr;
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    .plan-creator-layout {
        grid-template-columns: 1fr;
    }
    .creator-sidebar {
        position: static;
        flex-direction: row;
        gap: 20px;
    }
    .user-info-card,
    .exercises-library {
        flex: 1;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 36px;
    }
    .meals-container {
        grid-template-columns: 1fr;
    }
    .form-row.two-cols,
    .form-row.three-cols,
    .form-row.four-cols {
        grid-template-columns: 1fr;
    }
    .nutrition-targets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .create-plan-section {
        padding: 30px 0;
    }
    .container {
        padding: 0 15px;
    }
    .page-header {
        padding: 35px 25px;
    }
    .page-header h1 {
        font-size: 28px;
        flex-direction: column;
    }
    .creator-sidebar {
        flex-direction: column;
    }
    .creator-main {
        padding: 25px;
    }
    .breadcrumb-nav {
        font-size: 12px;
        padding: 15px 20px;
    }
    .form-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .nutrition-targets {
        grid-template-columns: 1fr;
    }
}

.create-plan-section {
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    padding: 4rem 0;
    min-height: 100vh;
}

.container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1rem;
}

.breadcrumb-nav {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.breadcrumb-nav a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.breadcrumb-nav i.fa-chevron-left {
    color: #d1d5db;
    font-size: 0.75rem;
}

.breadcrumb-nav span {
    color: #667eea;
    font-weight: 700;
}

.page-header {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-header h1 i {
    color: #667eea;
    font-size: 2.25rem;
}

.page-header p {
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0;
    font-weight: 500;
}

.plan-creator-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: start;
}

.creator-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.user-info-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.user-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.user-info-card .card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info-card .card-header i {
    font-size: 1.75rem;
}

.user-info-card .card-header h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

.user-info-card .card-body {
    padding: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.info-row strong {
    color: #1f2937;
    font-weight: 700;
    font-size: 1rem;
}

.health-alert {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    border-right: 4px solid #f59e0b;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
}

.health-alert i {
    color: #f59e0b;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.health-alert p {
    margin: 0;
    color: #78350f;
    font-size: 0.875rem;
    line-height: 1.6;
}

.exercises-library {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.library-header {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.library-header i {
    font-size: 1.75rem;
}

.library-header h3 {
    font-size: 1.25rem;
    margin: 0;
    font-weight: 700;
}

.muscle-tabs {
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.muscle-tab {
    padding: 0.625rem 1.25rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.muscle-tab:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.muscle-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
}

.muscle-tab i {
    font-size: 1rem;
}

.exercise-search {
    padding: 1.5rem;
    position: relative;
}

.exercise-search i {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.125rem;
}

.exercise-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.875rem;
    transition: all 0.3s;
    font-family: inherit;
}

.exercise-search input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.exercise-search input::placeholder {
    color: #9ca3af;
}

.exercises-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
}

.exercises-list::-webkit-scrollbar {
    width: 8px;
}

.exercises-list::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.exercises-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.exercises-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.exercise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: #f9fafb;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.exercise-item:hover {
    background: white;
    border-color: #667eea;
    transform: translateX(-5px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.exercise-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.exercise-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exercise-thumb i {
    color: white;
    font-size: 1.75rem;
}

.exercise-info {
    flex: 1;
}

.exercise-info h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f2937;
}

.exercise-muscle {
    font-size: 0.8125rem;
    color: #6b7280;
}

.btn-add-exercise {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-add-exercise:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-add-exercise i {
    font-size: 1.125rem;
}

.creator-main {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #f3f4f6;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row.three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.form-row.four-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-control {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s;
    color: #1f2937;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    padding-left: 45px;
}

.workout-days-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.day-card {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}

.day-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.day-header i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.day-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
}

.exercises-assigned {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
    border: 2px dashed #d1d5db;
}

.exercises-assigned h5 {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #374151;
}

.meals-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.meal-card {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.75rem;
    transition: all 0.3s;
}

.meal-card:hover {
    border-color: #10b981;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
    transform: translateY(-3px);
}

.meal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.meal-header i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
}

.meal-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: #1f2937;
}

.nutrition-targets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.nutrition-card {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s;
}

.nutrition-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.nutrition-card i {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.nutrition-card label {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nutrition-card input {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 2px solid #f3f4f6;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn i {
    font-size: 1.125rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

@media (max-width: 1200px) {
    .plan-creator-layout {
        grid-template-columns: 350px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .plan-creator-layout {
        grid-template-columns: 1fr;
    }
    .creator-sidebar {
        position: static;
        flex-direction: row;
        gap: 1.5rem;
    }
    .user-info-card,
    .exercises-library {
        flex: 1;
    }
    .meals-container {
        grid-template-columns: 1fr;
    }
    .form-row.two-cols,
    .form-row.three-cols,
    .form-row.four-cols {
        grid-template-columns: 1fr;
    }
    .nutrition-targets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .create-plan-section {
        padding: 2rem 0;
    }
    .page-header h1 {
        font-size: 1.5rem;
        flex-direction: column;
    }
    .creator-sidebar {
        flex-direction: column;
    }
    .creator-main {
        padding: 2rem 1.5rem;
    }
    .breadcrumb-nav {
        font-size: 0.75rem;
        padding: 0.875rem 1.25rem;
    }
    .form-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .nutrition-targets {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 1.25rem;
}

.mt-20 {
    margin-top: 1.25rem;
}

.breadcrumb-wrapper {
    background: #f8f9fa;
    padding: 1.2rem 0;
    border-bottom: 2px solid #e9ecef;
}