/*
Theme Name: Khatere Negar
Description: A custom WordPress theme with shop functionality
Version: 1.0
Author: Alborz payandeh
*/
/* KalamehWebNoEn-Regular.woff2 */
/* @font-face {
    font-family: 'KalamehWebNoEn';
    src: url('assets/fonts/KalamehWebNoEn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KalamehWebNoEn';
    src: url('assets/fonts/KalamehWebNoEn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
} */
@font-face {
    font-family: 'KalamehWebNoEn';
    src: url('assets/fonts/kalamehwebfanum-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'KalamehWebNoEn';
    src: url('assets/fonts/kalamehwebfanum-bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
:root {
    --gold-color: #a37c39;
    --light: #f7f7f7;
    --light-gold: #f2e4cc;
    --black: #232323;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: KalamehWebNoEn;
    overflow-x: hidden;
    width: 100%;
    direction: rtl;
}
#wpadminbar{
    display: none !important;
}
html{
    margin: 0 !important;
}
li{
    list-style: none;
}
b,strong,h1,h2,h3,h4,h5,h6{
    font-weight: bold;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    margin: 0;
}
a:hover{
    color: var(--gold-color);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 80px;
}

/* Site Branding */
.site-branding {
    flex-shrink: 0;
    margin-left: 2rem;
}

.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 60px;
    width: auto;
    margin: -5px 0;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-color);
    margin: 0;
    text-decoration: none;
}

/* Main Navigation - Modern Minimal */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
}

.nav-menu li a:hover{
    color: var(--gold-color);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--black);
    font-weight: 400;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
    letter-spacing: 0;
}

.sub-menu li a:hover {
    color: var(--gold-color);
    background: var(--light-gold);
}

.sub-menu li a::after {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: none;
    background: transparent;
    color: var(--black);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-action-btn:hover {
    background: var(--light-gold);
    color: var(--gold-color);
    transform: translateY(-2px);
}

.header-action-btn svg {
    transition: transform 0.3s ease;
}

.header-action-btn:hover svg {
    transform: scale(1.1);
}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--light-gold);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Modern Mobile Menu Styles */
.modern-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-mobile-menu.show {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-mobile-menu.show .mobile-menu-overlay {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.modern-mobile-menu.show .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 2rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-brand {
    flex: 1;
}

.mobile-logo {
    max-height: 40px;
    width: auto;
}

.mobile-site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-color);
    margin: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(163, 124, 57, 0.1);
    color: var(--gold-color);
    transform: rotate(90deg);
}

.mobile-navigation {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.modern-mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-mobile-nav-menu li {
    margin: 0;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.4s ease forwards;
}

.modern-mobile-nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.modern-mobile-nav-menu li:nth-child(2) { animation-delay: 0.15s; }
.modern-mobile-nav-menu li:nth-child(3) { animation-delay: 0.2s; }
.modern-mobile-nav-menu li:nth-child(4) { animation-delay: 0.25s; }
.modern-mobile-nav-menu li:nth-child(5) { animation-delay: 0.3s; }
.modern-mobile-nav-menu li:nth-child(6) { animation-delay: 0.35s; }

.modern-mobile-nav-menu li a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-radius: 0 25px 25px 0;
    margin-right: 1rem;
}

.modern-mobile-nav-menu li a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-color), var(--light-gold));
    border-radius: 0 25px 25px 0;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.modern-mobile-nav-menu li a:hover::before,
.modern-mobile-nav-menu li a:focus::before {
    width: 100%;
}

.modern-mobile-nav-menu li a:hover,
.modern-mobile-nav-menu li a:focus {
    color: #fff;
    transform: translateX(-10px);
    box-shadow: 0 5px 15px rgba(163, 124, 57, 0.3);
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(248, 248, 248, 0.5);
}

.mobile-menu-actions {
    display: flex;
    gap: 1rem;
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(163, 124, 57, 0.2);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mobile-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-color), var(--light-gold));
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.mobile-action-btn:hover::before,
.mobile-action-btn:focus::before {
    left: 0;
}

.mobile-action-btn:hover,
.mobile-action-btn:focus {
    color: #fff;
    border-color: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 124, 57, 0.3);
}

.mobile-cart-count {
    background: var(--gold-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.25rem;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Search Modal */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px 25px 15px;
}

.modal-title {
    color: var(--black);
    font-weight: 600;
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: #f0f0f0;
    color: var(--black);
}

.modal-body {
    padding: 25px;
}

.search-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-form .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    background: #f8f9fa;
}

.search-form .form-control:focus {
    box-shadow: none;
    background: white;
}

.search-form .btn {
    border: none;
    padding: 15px 20px;
    background: var(--gold-color);
    color: white;
    transition: all 0.3s ease;
}

.search-form .btn:hover {
    background: var(--black);
    transform: scale(1.05);
}

main {
    padding: 0;
}
a{
    text-decoration: none;
}
.bigbtn{
    position: relative;
    border: 2px solid #555;
    font-size: 20px;
    color: #555;
    padding: 12px 30px;
    display: inline-block;
    transition: all 0.3s ease;
    z-index: 1;
}

.bigbtn:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background: #a37c3914;
    margin: auto;
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}
.bigbtn:hover:before{
    width: 100%;
    opacity: 1;
}
.bigbtn:hover{
    border-color: var(--gold-color);
}
/* Modern Minimal Footer Styles */
.site-footer {
    background: var(--black);
    color: var(--light);
    padding: 60px 0 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1.6fr;
    gap: 60px;
    padding-bottom: 40px;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand img {
    width: 220px;
    height: auto;
    max-width: none;
    max-height: none;
    margin-bottom: 1rem;
}

.footer-site-title {
    color: var(--gold-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer Links */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-links-column h3 {
    color: var(--light);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-links-column img{
    cursor: pointer;
    display: block;
    background: var(--light);
    padding: 10px;
    width: 120px;
    margin: auto;
    border-radius: 3px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-menu li a:hover {
    color: var(--gold-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--gold-color);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--gold-color);
}


/* Homepage Sections Styles */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay p{
    margin: .6rem 0 0 0;
    font-size: 20px;
}
.about-hero .hero-overlay{
    background: #a37c39
}
.hero-subject,.hero-subject{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
.hero-image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
} 
.hero-subject img{
    height: 150%;
    width: auto;
}



/* Category Cards */
.category-card {
    background: var(--light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    transition: .3s;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    background: var(--light-gold);
}

.categories-section{
    background: #fff;
}

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

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

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    text-align: center;
    width: 100%;
}

.category-content h4 {
    color: var(--gold-color);
    font-size: 14px;
    font-weight: normal;
}

.category-title {
    color: var(--black);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}
.category-title::after{
    content: ' ';
    width: 40px;
    height: 1px;
    background: var(--gold-color);
    display: block;
    margin: 6px auto;
}
/* Product Cards */
.product-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 20px;
}

.product-image {
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: hue-rotate(-5deg);
}

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

.product-content {
    color: var(--gold-color);
    padding: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-title {
    color: var(--black);
    font-size: 14px;
    font-weight: normal;
}

.product-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* About Section */
.about-section {
    position: relative;
    font-size: 18px;
    text-shadow: 0 0 10px #000;
}

.about-section img{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    object-position: bottom;
}
.about-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 3rem 0;
}

.about-content h1,
.about-content h2,
.about-content h3 {
    color: var(--gold-color);
    margin-bottom: 20px;
}

.about-content p {
    color: #fff;
    line-height: 2;
}

/* Detailed Product Card Styles */
.product-card-detailed {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card-detailed .product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-card-detailed .out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-card-detailed .product-info {
    padding: 20px;
}

.product-card-detailed .product-title {
    color: var(--black);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.product-card-detailed .product-title a {
    color: inherit;
    text-decoration: none;
}

.product-card-detailed .product-title a:hover {
    color: var(--gold-color);
}

.product-card-detailed .product-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-card-detailed .product-price {
    margin-bottom: 15px;
}

.product-card-detailed .product-price .price {
    color: var(--gold-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.card-product-price .price-preview {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.card-product-price .prepayment-price {
    font-size: 1rem;
    color: var(--gold-color);
    font-weight: 600;
}

.card-product-price .total-price {
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 700;
}
.product-price{
    text-align: left;
    color: var(--gold-color);
}
.product-card-detailed .product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-card-detailed .product-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-card-detailed .product-actions .btn-primary {
    background: var(--gold-color);
    color: white;
    border: 2px solid var(--gold-color);
}

.product-card-detailed .product-actions .btn-primary:hover {
    background: transparent;
    color: var(--gold-color);
}

.product-card-detailed .product-actions .btn-secondary {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.product-card-detailed .product-actions .btn-secondary:hover {
    background: var(--black);
    color: white;
}

.product-card-detailed .product-actions .btn-disabled {
    background: #ccc;
    color: #666;
    border: 2px solid #ccc;
    cursor: not-allowed;
}
.shop-category-page{
    background: var(--light);
}
.page-title{
    font-size: 28px;
    border-bottom: 1px solid #0003;
    margin: 0 0 1rem 0;
    padding: 0 0 1rem 0;
}
.lead{
    color: #555;
}
.lead strong{
    margin-bottom: .5rem;
    display: block;
}


/* Header scroll effect */
.site-header.scrolled {
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Loading animation for cart count */
.cart-count.updating {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Focus states for accessibility */
.header-action-btn:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .site-header {
        border-bottom: 2px solid var(--black);
    }
    
    .nav-menu li a::after {
        height: 3px;
    }
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--gold-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: 500;
    max-width: 300px;
}

.cart-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.cart-notification::before {
    content: '✓';
    margin-right: 8px;
    font-weight: bold;
}

/* Loading states */
.add-to-cart-btn.loading {
    position: relative;
    color: transparent;
}

.add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .header-action-btn,
    .nav-menu li a,
    .cart-notification,
    .hamburger-line {
        transition: none;
    }
    
    .cart-notification {
        transform: none;
    }
}

/* Footer Animations and Effects */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-widget {
    animation: footerFadeIn 0.6s ease-out;
}

.footer-widget:nth-child(1) { animation-delay: 0.1s; }
.footer-widget:nth-child(2) { animation-delay: 0.2s; }
.footer-widget:nth-child(3) { animation-delay: 0.3s; }
.footer-widget:nth-child(4) { animation-delay: 0.4s; }

/* Footer hover effects */
.footer-widget:hover .footer-widget-title::before {
    width: 50px;
    transition: width 0.3s ease;
}

.footer-widget:hover .footer-widget-title::after {
    width: 60px;
    transition: width 0.3s ease;
}

/* Footer scroll reveal animation */
.footer-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.footer-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer accessibility improvements */
.social-link:focus,
.footer-menu li a:focus,
.footer-categories li a:focus,
.footer-bottom-links a:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

/* Footer reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .footer-widget,
    .social-link,
    .footer-menu li a,
    .footer-categories li a,
    .contact-item,
    .footer-bottom-links a {
        animation: none;
        transition: none;
    }
    
    .site-footer::after {
        animation: none;
    }
}

/* Pagination Styles */
.navigation.pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: white;
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #0003;
}

.nav-links .page-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(163, 124, 57, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-links .page-numbers:hover::before {
    left: 100%;
}

.nav-links .page-numbers:hover {
    color: var(--gold-color);
    border-color: var(--gold-color);
    background: var(--light-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 124, 57, 0.15);
}

.nav-links .page-numbers.current {
    color: white;
    background: var(--gold-color);
    border-color: var(--gold-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(163, 124, 57, 0.3);
}

.nav-links .page-numbers.dots {
    color: #999;
    cursor: default;
    pointer-events: none;
    border: none;
    background: transparent;
}

.nav-links .page-numbers.dots:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
    border-color: transparent;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
    font-weight: 600;
    padding: 0 16px;
    min-width: auto;
}

.nav-links .page-numbers.prev:hover,
.nav-links .page-numbers.next:hover {
    background: var(--gold-color);
    color: white;
    border-color: var(--gold-color);
}

.nav-links .page-numbers.prev:disabled,
.nav-links .page-numbers.next:disabled {
    color: #ccc;
    background: #f8f9fa;
    border-color: #e9ecef;
    cursor: not-allowed;
    pointer-events: none;
}

/* Style the nested span in next button */
.nav-links .page-numbers.next .btn {
    background: transparent;
    border: none;
    color: inherit;
    padding: 0;
    margin: 0;
    font-weight: inherit;
    font-size: inherit;
}

.nav-links .page-numbers.next:hover .btn {
    color: white;
}


/* Accessibility improvements */
.nav-links .page-numbers:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

/* Loading state */
.navigation.pagination.loading .nav-links .page-numbers {
    opacity: 0.6;
    pointer-events: none;
}


/* Single Post Page Styles */
.single-post {
    background: var(--light);
    min-height: 100vh;
}

.single-post .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Post Article */
.post-single {
    background: #fff;
    margin-bottom: 3rem;
}

/* Post Header */
.post-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 3rem 3rem 2rem;
}

.post-header-content {
    max-width: 800px;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 2rem 0;
    color: #1a1a1a;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}

.meta-value {
    font-size: 1rem;
    color: #1a1a1a;
    text-decoration: none;
}

.meta-value:hover {
    color: var(--gold-color);
}

/* Featured Image */
.post-featured-image {
    margin: 0;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    padding: 3rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 2rem 0 1rem 0;
    font-weight: 700;
    color: #1a1a1a;
}

.post-content h2 {
    font-size: 1.875rem;
    border-bottom: 2px solid var(--gold-color);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--gold-color);
    padding: 1rem 2rem;
    margin: 2rem 0;
    background: #f8f8f8;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* Post Tags */
.post-tags {
    padding: 2rem 3rem;
    border-top: 1px solid #e5e5e5;
    background: #f8f8f8;
}

.tags-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: var(--gold-color);
    color: #fff;
    border-color: var(--gold-color);
}

/* Post Footer Navigation */
.post-footer {
    padding: 2rem 3rem;
    border-top: 1px solid #e5e5e5;
    background: #f8f8f8;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-previous,
.nav-next {
    position: relative;
}

.nav-link {
    display: block;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-link:hover {
    border-color: var(--gold-color);
    background: #fff;
}

.nav-direction {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.nav-next {
    text-align: right;
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
    padding: 3rem;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding-bottom: 1rem;
}

.page-template-page-blog .section-title{
    padding-bottom: 1rem;
}
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-item {
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.related-post-item:hover {
    border-color: var(--gold-color);
}

.related-post-thumbnail {
    overflow: hidden;
}

.related-post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.related-post-item:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-post-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.related-post-title a:hover {
    color: var(--gold-color);
}

.related-post-meta {
    margin-top: 1rem;
}

.related-post-date {
    font-size: 0.875rem;
    color: #666;
}

/* Blog Page Styles */
.blog-page {
    background: var(--light);
    min-height: 100vh;
}

/* Blog Card Styles */
.blog-card {
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--gold-color);
    transform: translateY(-5px);
}

.blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-image {
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-date {
    color: #666;
    font-size: 0.8rem;
}

.blog-category {
    background: var(--gold-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
    flex: 1;
}

.blog-card:hover .blog-title {
    color: var(--gold-color);
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Single Product Page Styles */
.single-product {
    background: var(--light);
    min-height: 100vh;
    padding: 2rem 0;
}

/* Product Gallery Section */

/* Product Content Section */

.product-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Product Images Section */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-bottom: 3rem;
}

.product-main-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1;
    min-width: 0;
    flex: 1;
    max-width: 500px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-main-image:hover img {
    transform: scale(1.02);
}

/* Product Carousel */
.product-carousel-container {
    position: relative;
    max-width: 100%;
}

.carousel-main-image {
    position: relative;
    background: #f8f9fa;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    cursor: grab;
    transition: transform 0.2s ease, height 0.3s ease;
}

.carousel-image-wrapper.dragging {
    cursor: grabbing;
}

.carousel-image-wrapper:active {
    cursor: grabbing;
}

.main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
}

.main-image.active {
    transform: translateX(0);
}

.main-image.prev {
    transform: translateX(-100%);
}

.main-image.next {
    transform: translateX(100%);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.carousel-main-image:hover .carousel-nav {
    opacity: 1;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.thumbnail-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
    background: #f8f9fa;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 8px;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    transform: translateY(-2px);
    border-color: var(--gold-color);
}

.thumbnail-item.active {
    transform: translateY(-2px);
    border-color: var(--gold-color);
}

.thumbnail-item.hover {
    transform: translateY(-2px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

/* Product Info Column (Right) */
.product-info-column {
    padding: 1rem 0;
}

/* Product Description Column (Left) */
.product-description-column {
    padding: 1rem 0;
}

.product-header {
    margin-bottom: 2rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 1rem 0;
    line-height: 1.2;
}
.card-product-title{
    font-size: 14px;
    color: var(--black);
    font-weight: normal;
}
.product-sku {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sku-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.sku-value {
    color: var(--black);
    font-weight: 600;
    background: var(--light-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Product Price Section */

.product-price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
}

.product-price {
    margin-bottom: 1.5rem;
    position: relative;
}

.product-price .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    line-height: 1;
}

.product-price .price::after {
    content: 'تومان';
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-right: 0.5rem;
}

.product-weight,
.product-stock {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    background: rgba(163, 124, 57, 0.05);
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--gold-color);
    transition: all 0.3s ease;
}

.product-weight:hover,
.product-stock:hover {
    background: rgba(163, 124, 57, 0.08);
    transform: translateX(2px);
}

.weight-label,
.product-stock {
    color: #666;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.weight-value {
    color: var(--black);
    font-weight: 700;
    font-size: 1.1rem;
}

.in-stock {
    color: #28a745;
    font-weight: 600;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.out-of-stock {
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Product Description */
.product-description {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

.product-description h1,
.product-description h2,
.product-description h3,
.product-description h4,
.product-description h5,
.product-description h6 {
    color: var(--black);
    margin: 1.5rem 0 1rem 0;
}

.product-description p {
    margin-bottom: 1rem;
}

.product-description ul,
.product-description ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.product-description li {
    margin-bottom: 0.5rem;
}

/* Product Features */
.product-features {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.product-features h3 {
    color: var(--black);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features h3::before {
    content: '✦';
    color: var(--gold-color);
    font-size: 1.2rem;
    font-weight: normal;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.features-list li {
    padding: 1rem 1.25rem;
    background: white;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.features-list li:hover::before {
    transform: scaleY(1);
}

.features-list li::after {
    content: '✓';
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    background: rgba(163, 124, 57, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.features-list li strong {
    color: var(--black);
    font-weight: 700;
    font-size: 1rem;
    display: block;
}

.features-list li span {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Product Actions */
.product-actions {
    margin-bottom: 2rem;
}

.add-to-cart-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.add-to-cart{
    font-size: 15px;
    height: 50px;
    width: 100%;
    background: var(--gold-color);
    color: #fff !important;
    border: 1px solid var(--gold-color);
    border-radius: 6px;
}
.add-to-cart svg{
    margin: -3px 0 0 0;
}
.add-to-cart:hover {
    border-color: var(--gold-color);
    color: var(--gold-color) !important;
    background: #fff;
}

/* Product Meta */
.product-meta {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-top: 3px solid var(--gold-color);
}

.product-categories {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-label {
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
}

.product-categories a {
    color: var(--gold-color);
    text-decoration: none;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--gold-color);
    transition: all 0.3s ease;
}

.product-categories a:hover {
    background: var(--gold-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(163, 124, 57, 0.3);
}

/* Related Products */
.related-products {
    margin-top: 5rem;
}

.related-products h2 {
    color: var(--black);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    text-align: center;
    position: relative;
}

.related-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-color);
    border-radius: 2px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-product-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--gold-color);
}

.related-product-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-product-item:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-info {
    padding: 1.5rem;
    text-align: center;
}

.related-product-info h3 {
    margin: 0 0 1rem 0;
}

.related-product-info h3 a {
    color: var(--black);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-product-info h3 a:hover {
    color: var(--gold-color);
}

.related-product-price {
    margin-bottom: 1rem;
}

.related-product-price .price {
    color: var(--gold-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.section-title{
    position: relative;
    text-align: center;
    padding-bottom: 3rem;
}
.section-title h2{
    position: relative;
    display: inline;
    font-size: 22px;
}
.section-title h2:before{
    content: '';
    position: absolute;
    top: -21px;
    left: 100%;
    width: 116px;
    height: 78px;
    background: url(assets/img/wave.webp) no-repeat center center;
    background-size: contain;
    margin-left: -10px;
}

.section-title h2:after{
    content: '';
    position: absolute;
    top: -21px;
    right: 100%;
    width: 116px;
    height: 78px;
    background: url(assets/img/wave.webp) no-repeat center center;
    transform: rotateY(180deg);
    background-size: contain;
    margin-right: -10px;
}


/* Lightbox Styles */
body.lightbox-open {
    overflow: hidden;
}

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.15s ease;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lightbox-close:hover {
    background: var(--gold-color);
    color: white;
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lightbox-nav:hover {
    background: var(--gold-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}


/* Checkout Page Styles */
.checkout-page {
    background: var(--light);
    min-height: 100vh;
}

.checkout-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: white;
    border: 1px solid #e5e5e5;
}

.checkout-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    position: relative;
}

.checkout-page .page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-color);
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border: 1px solid #e5e5e5;
    max-width: 500px;
    margin: 0 auto;
}

.empty-cart h2 {
    color: var(--black);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.empty-cart p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

/* Checkout Content Layout */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Checkout Form Section */
.checkout-form-section {

    position: relative;
    overflow: hidden;
}

.checkout-form-section h2 {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Form Styles */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

input,select,textarea{
    padding: 8px;
    border: 1px solid #ddd;
    transition: .3s;
}
input:focus,select:focus,textarea:focus{
    outline: none;
    border-color: var(--gold-color);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

/* Submit Button */
.checkout-form .btn {
    padding: 1.25rem 2rem;
    background: var(--gold-color);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.checkout-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.checkout-form .btn:hover::before {
    left: 100%;
}

.checkout-form .btn:hover {
    background: var(--black);
    transform: translateY(-2px);
}

.checkout-form .btn:active {
    transform: translateY(0);
}

/* Order Summary */
.order-summary {
    background: white;
    padding: 2rem;
    border: 1px solid #e5e5e5;
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.order-summary h2 {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-summary h2::before {
    content: '';
    font-size: 1.2rem;
}

/* Order Items */
.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 1rem;
}

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

.item-info h4 {
    color: var(--black);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.item-price {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.item-total {
    color: var(--gold-color);
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Order Totals */
.order-totals {
    border-top: 2px solid #f0f0f0;
    padding-top: 1.5rem;
}

/* Order Actions */
.order-actions {
    margin-top: 2rem;
}

.order-actions .btn {
    width: 100%;
    background: var(--gold-color);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.order-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.order-actions .btn:hover::before {
    left: 100%;
}

.order-actions .btn:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 124, 57, 0.3);
}

.order-actions .btn:active {
    transform: translateY(0);
}

.order-actions .btn:focus {
    outline: 2px solid var(--gold-color);
    outline-offset: 2px;
}

.order-actions .btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.order-actions .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.total-row:not(.total-final) {
    border-bottom: 1px solid #f8f8f8;
}

.total-label {
    color: #666;
    font-weight: 500;
}

.total-value {
    color: var(--black);
    font-weight: 600;
}

.total-final {
    background: rgba(163, 124, 57, 0.05);
    margin: 0 -2rem;
    padding: 1.25rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: 700;
}

.total-final .total-label {
    color: var(--black);
    font-weight: 700;
}

.total-final .total-value {
    color: var(--gold-color);
    font-size: 1.2rem;
    font-weight: 800;
}

/* Form Validation States */


/* Loading State */
.checkout-form .btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.checkout-form .btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}
.total-value i{
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
}
.item-info img{
    width: 50px;
    height: auto;
}
.item-info{
    display: flex;
    align-items: self-start;
    gap: 1rem;
    width: 100%;
}
.order-details-expanded{
    padding-top: 3rem;
}

/* Accessibility Improvements */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.checkout-form .btn:focus {
    border-color: var(--gold-color);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .checkout-form-section,
    .order-summary {
        border: 2px solid var(--black);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .form-group input,
    .form-group select,
    .form-group textarea,
    .checkout-form .btn,
    .order-actions .btn {
        transition: none;
    }
    
    .checkout-form .btn::before,
    .order-actions .btn::before {
        display: none;
    }
    
    .checkout-form .btn:hover,
    .order-actions .btn:hover {
        transform: none;
    }
}

/* Phone Authentication Modal Styles */
.phone-auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.phone-auth-modal.show {
    opacity: 1;
    visibility: visible;
}

.phone-auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.phone-auth-content {
    position: relative;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.phone-auth-modal.show .phone-auth-content {
    transform: scale(1) translateY(0);
}

.phone-auth-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.phone-auth-header h3 {
    color: var(--black);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.phone-auth-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.phone-auth-body {
    padding: 2rem;
}

.auth-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.phone-auth-body .form-group {
    margin-bottom: 1.5rem;
}

.phone-auth-body .form-group label {
    display: block;
    color: var(--black);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.phone-auth-body input[type="tel"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    direction: ltr;
}

.phone-auth-body input[type="tel"]:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(163, 124, 57, 0.1);
}

.phone-auth-body .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.phone-auth-body .btn-primary {
    background: var(--gold-color);
    color: white;
}

.phone-auth-body .btn-primary:hover:not(:disabled) {
    background: var(--black);
    transform: translateY(-2px);
}

.phone-auth-body .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.phone-auth-body .btn-secondary {
    background: transparent;
    color: var(--black);
    border: none;
    margin-top: 0;
}

.phone-auth-body .btn-secondary:hover {
    background: var(--black);
    color: white;
}

/* OTP Step Styles */
.otp-info {
    text-align: center;
    margin-bottom: 2rem;
}

.otp-info p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-direction: row-reverse;
}

.otp-input {
    width: 60px;
    height: 60px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    transition: all 0.3s ease;
    background: white;
}

.otp-input:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(163, 124, 57, 0.1);
    transform: scale(1.05);
}

.otp-input.filled {
    border-color: var(--gold-color);
    background: rgba(163, 124, 57, 0.05);
}

.otp-input.error {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.otp-actions {
    margin-bottom: 1.5rem;
}

.otp-timer {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.otp-timer span {
    color: var(--gold-color);
    font-size: 1.1rem;
    font-weight: 700;
    background: rgba(163, 124, 57, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.otp-timer.expired span {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

.breadcrumb-item:before{
    display: none;
}


/* Product Price Preview Styles */
.product-price-preview {
    margin-bottom: 1.5rem;
    position: relative;
}


.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.price-item:not(:first-child) {
    margin-bottom: 0;
    border-top: 1px solid rgba(163, 124, 57, 0.2);
    padding: 10px 0;
}

.price-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.price-label b{
    color: var(--gold-color);
    font-weight: normal;
}
.product-price-preview svg{
    color: #999;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    text-align: left;
}

.prepayment-price::after {
    content: 'تومان';
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--black);
    display: block;
    margin-top: 0.2rem;
    opacity: 0.7;
}

.total-price {
    color: var(--black);
    font-size: 20px;
    position: relative;
}

.total-price::after {
    content: 'کل مبلغ';
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--black);
    display: block;
    margin-top: 0.2rem;
    opacity: 0.7;
}

.weight-item .price-value {
    color: #666;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Voice Input Styles */
.voice-input-section {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.voice-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
    cursor: pointer;
}

.voice-label i {
    color: var(--gold-color);
    font-size: 1.2rem;
}

.voice-input-wrapper {
    position: relative;
    border: 2px dashed var(--gold-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.voice-input-wrapper:hover {
    border-color: var(--gold-color);
    background: #fafafa;
}

.voice-input-wrapper.drag-over {
    border-color: var(--gold-color);
    background: var(--light-gold);
    transform: scale(1.02);
}

.voice-input-wrapper.has-file {
    border-color: #28a745;
    background: #f8fff9;
}

.voice-input-wrapper.file-selected {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.voice-input-wrapper.error {
    border-color: #dc3545;
    background: #fff8f8;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.voice-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.voice-input-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.voice-placeholder {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.voice-file-name {
    font-size: 1rem;
    color: #28a745;
    font-weight: 600;
    display: none;
}

.voice-file-name:not(:empty) {
    display: block;
}

.voice-help-text {
    margin-top: 0.8rem;
    text-align: center;
}

.voice-help-text small {
    color: #666;
    font-size: 0.9rem;
}

.audio-preview {
    width: 100%;
    margin-top: 1rem;
}

/* Voice file display in checkout */
.item-voice-file {
    margin-top: 1rem;
}

.voice-player {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
}

.voice-player::-webkit-media-controls-panel {
    background-color: #fff;
}


/* Order Status Styles */
.status-pending {
    color: #ffc107;
    font-weight: bold;
}

.status-pending_payment {
    color: #17a2b8;
    font-weight: bold;
}

.status-processing {
    color: #007bff;
    font-weight: bold;
}

.status-completed {
    color: #28a745;
    font-weight: bold;
}

.status-cancelled {
    color: #6c757d;
    font-weight: bold;
}

.status-failed {
    color: #dc3545;
    font-weight: bold;
}

.payment-status-pending {
    color: #ffc107;
    font-weight: bold;
}

.payment-status-completed {
    color: #28a745;
    font-weight: bold;
}

.payment-status-failed {
    color: #dc3545;
    font-weight: bold;
}

/* Thank You Page Styles */
.thank-you-content .success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.thank-you-content .error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.thank-you-content .info-message {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.order-info .info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-info .info-row:last-child {
    border-bottom: none;
}

.order-info .info-label {
    font-weight: bold;
    color: #333;
}

.order-info .info-value {
    color: #666;
}

/* Product Variations Styles */
.variations-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.variation-group.error {
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f8d7da;
}

.variation-title {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.variation-option {
    border: 1px solid var(--gold-color);
    font-family: 'KalamehWebNoEn';
    background: #fff;
    color: var(--gold-color);
    padding: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
    min-width: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex-flow: wrap;
    text-align: center;
    justify-content: center;
}

.variation-option:hover {
    transform: translateY(-2px);
}

.variation-option.active {
    background: var(--light-gold);
    color: var(--gold-color);
    transform: translateY(-2px);
    font-weight: bold;
}

.variation-option .price-modifier {
    font-size: 0.8rem;
    font-weight: normal;
    opacity: 0.8;
    display: none;
}

.variation-option.active .price-modifier {
    opacity: 1;
}

.variation-option:not(.active) .price-modifier {
    color: #6c757d;
}

.variation-option.active .price-modifier {
    color: rgba(255, 255, 255, 0.9);
}

/* Price update animation */
.price-updated {
    animation: priceUpdate 0.5s ease-in-out;
}

@keyframes priceUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); color: var(--gold-color); }
    100% { transform: scale(1); }
}

/* Variation error message */
.variation-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.variation-error-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Admin interface improvements for variations */
.acf-repeater .acf-row[data-name="product_features"] .acf-field[data-name="use_as_variation"] {
    background: #f8f9fa;
    border-left: 3px solid var(--gold-color);
    padding-left: 10px;
}

.acf-repeater .acf-row[data-name="product_features"] .acf-field[data-name="variation_values"] {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    padding-left: 10px;
}

/* Checkout page variation styles */
.order-item .item-details {
    flex: 1;
    margin-left: 15px;
}

.order-item .item-variations {
    margin-top: 8px;
}

.order-item .variation-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.order-item .variation-name {
    font-weight: 500;
    color: #666;
}

.order-item .variation-value {
    color: var(--black);
    font-weight: 500;
}

/* ========================================
   MY ACCOUNT PAGE STYLES
======================================== */

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Main My Account Page Background */
.my-account-page {
    background: var(--light);
    min-height: 100vh;
}

/* My Account Hero Section */
.my-account-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gold-color) 100%);
    overflow: hidden;
}

.my-account-hero .hero-overlay {
    background: var(--gold-color);
    opacity: 0.9;
}

.my-account-page .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    color: white;
}

.my-account-page .hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: white;
}

/* User Profile Header */


.profile-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(163, 124, 57, 0.1);
    border: 1px solid rgba(163, 124, 57, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-color) 0%, var(--light-gold) 100%);
}

.profile-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-color) 0%, var(--light-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(163, 124, 57, 0.3);
    position: relative;
    overflow: hidden;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #28a745;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 0.5rem 0;
}

.profile-email {
    color: #666;
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stats .stat-item {
    text-align: center;
}

.profile-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-color);
    line-height: 1;
}

.profile-stats .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
}

.profile-actions {
    flex-shrink: 0;
}

/* Dashboard Widgets */
.dashboard-widgets {
    margin: 2rem 0 3rem 0;
}

.widget-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-widget {
    background: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(163, 124, 57, 0.15);
}

.widget-icon {
    width: 60px;
    height: 60px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gold-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.widget-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 0.25rem 0;
    line-height: 1;
}

.widget-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Account Navigation */
.account-navigation {
    margin: 3rem 0 2rem 0;
}

.nav-wrapper {
    background: white;
    border-radius: 15px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(163, 124, 57, 0.1);
}

.modern-tabs {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: none;
}

.modern-tabs .nav-item {
    flex: 1;
}

.modern-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--light-gold);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.modern-tabs .nav-link.active::before,
.modern-tabs .nav-link:hover::before {
    opacity: 1;
}

.tab-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tab-text {
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tab-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(163, 124, 57, 0.3);
    z-index: 3;
}

.modern-tabs .nav-link.active .tab-icon,
.modern-tabs .nav-link:hover .tab-icon {
    color: var(--gold-color);
    transform: scale(1.1);
}

.modern-tabs .nav-link.active .tab-text,
.modern-tabs .nav-link:hover .tab-text {
    color: var(--gold-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}


.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Modern Cards */
.modern-card {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(163, 124, 57, 0.15);
}

.enhanced-card {
    position: relative;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-gold);
}

.order-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.order-number i {
    color: var(--gold-color);
    font-size: 1.2rem;
}

.order-number h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
}

.order-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.order-date i {
    color: var(--gold-color);
}

.order-total {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.order-total i {
    color: var(--gold-color);
}

.order-status-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.order-progress {
    width: 120px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.progress-pending {
    width: 25%;
    background: #ffc107;
}

.progress-processing {
    width: 60%;
    background: #17a2b8;
}

.progress-completed {
    width: 100%;
    background: #28a745;
}

.progress-cancelled {
    width: 100%;
    background: #dc3545;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge i {
    font-size: 0.7rem;
    animation: pulse 2s infinite;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Modern Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern.btn-primary {
    background: var(--gold-color);
    color: white;
    border-color: var(--gold-color);
}

.btn-modern.btn-primary:hover {
    background: var(--black);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 124, 57, 0.3);
}

.btn-modern.btn-outline {
    background: transparent;
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.btn-modern.btn-outline:hover {
    background: var(--gold-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(163, 124, 57, 0.3);
}

.order-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(163, 124, 57, 0.1);
}

.empty-icon {
    font-size: 4rem;
    color: var(--gold-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.empty-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.login-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modern Forms */
.modern-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(163, 124, 57, 0.1);
}

.floating-form {
    position: relative;
}

.floating-group {
    position: relative;
    margin-bottom: 2rem;
}

.floating-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.floating-input:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(163, 124, 57, 0.1);
}

.floating-input:read-only {
    background: #f8f9fa;
    color: #666;
    cursor: not-allowed;
}

.floating-label {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1rem;
    transition: all 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.floating-label i {
    color: var(--gold-color);
    font-size: 1rem;
}

.floating-group.focused .floating-label,
.floating-input.has-value + .floating-label {
    top: -0.5rem;
    right: 1rem;
    font-size: 0.8rem;
    color: var(--gold-color);
    background: white;
    padding: 0 0.5rem;
    border-radius: 4px;
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.floating-group.focused .input-focus-line,
.floating-input.has-value ~ .input-focus-line {
    transform: scaleX(1);
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

.btn-loading {
    position: relative;
    overflow: hidden;
}

.btn-loading.loading .btn-text {
    opacity: 0;
    transform: translateY(-20px);
}

.btn-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
}

.btn-loading.loading .btn-loading-spinner {
    display: flex;
}

.form-success-message {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-weight: 600;
    margin-top: 1rem;
    padding: 1rem;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
}

.form-success-message i {
    font-size: 1.2rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modern-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.modern-input:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(163, 124, 57, 0.1);
}

.modern-input:read-only {
    background: #f8f9fa;
    color: #666;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}


/* ========================================
   CONTACT PAGE STYLES
======================================== */

/* Main Contact Page Background */
.contact-page {
    background: var(--light);
    min-height: 100vh;
}

/* Contact Page Header Adjustments */
.contact-page .site-header {
    position: relative;
    z-index: 1001;
}

.contact-page .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Hero Section */
.contact-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gold-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 0;
}

.contact-hero .hero-overlay {
    background: var(--gold-color);
}

.contact-page .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    color: white;
}

.contact-page .hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: white;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 4rem 0;
    background: white;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.contact-method-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(163, 124, 57, 0.1);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(163, 124, 57, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 12px;
}

.contact-method-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(163, 124, 57, 0.2);
    border-color: rgba(163, 124, 57, 0.2);
}

.method-icon {
    margin-bottom: 1.5rem;
}

.method-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.contact-method-card:hover .method-icon img {
    filter: grayscale(0%) brightness(1);
}

.contact-method-card h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 700;
}

.method-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.method-details {
    text-align: left;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(163, 124, 57, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.method-item:hover {
    background: rgba(163, 124, 57, 0.1);
    transform: translateX(5px);
}

.method-item i {
    color: var(--gold-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.method-item a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.method-item a:hover {
    color: var(--gold-color);
}

.method-item span {
    color: var(--black);
    font-weight: 500;
}

/* Main Contact Content */
.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    background: var(--gold-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}
.contact-content{
    margin: 3rem 0 0 0;
    padding-bottom: 3rem;
}

.contact-content h4 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-content a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-content a:hover {
    color: var(--gold-color);
}

/* Social Links Section */
.social-links-section {
    margin-top: 2rem;
}

.social-links-section h4 {
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Form Section */
.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(163, 124, 57, 0.1);
    height: 100%;
}
.contact-form-section h2{
    font-size: 1.2rem;
    margin-bottom: 3rem;
    display: block;
}
.contact-form-fields {
    margin-top: 1rem;
}

.contact-form-fields .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-fields input:focus,
.contact-form-fields textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(163, 124, 57, 0.1);
}

.contact-form-fields textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-fields .btn {
    background: var(--gold-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.contact-form-fields .btn:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(163, 124, 57, 0.3);
}

/* Success/Error Messages */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: white;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.map-header {
    text-align: center;
    margin-bottom: 3rem;
}

.map-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 700;
}

.map-address {
    color: #666;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.map-address i {
    color: var(--gold-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(163, 124, 57, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--light);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(163, 124, 57, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: white;
}

.faq-question:hover {
    background: rgba(163, 124, 57, 0.05);
}

.faq-question h4 {
    margin: 0;
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--gold-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    background: rgba(163, 124, 57, 0.02);
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: white;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 3rem;
    font-weight: 700;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(163, 124, 57, 0.1);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(163, 124, 57, 0.1);
    text-align: center;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(163, 124, 57, 0.2);
    border-color: rgba(163, 124, 57, 0.2);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    border: none;
    padding: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-photo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin: 0;
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   ABOUT PAGE STYLES
======================================== */

/* Main About Page Background */
.about-page {
    background: var(--light);
    min-height: 100vh;
    overflow: hidden;
}

/* About Page Header Adjustments */
.about-page .site-header {
    position: relative;
    z-index: 1001;
}

.about-page .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Page Content */
.page-content {
    padding: 3rem 0;
    background: white;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gold-color) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 0;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.about-page .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Section Headers */
.about-page .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}


.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    margin-top: 2rem;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 6rem 0;
    position: relative;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 3.5rem;
    box-shadow: 0 15px 40px rgba(163, 124, 57, 0.1);
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(163, 124, 57, 0.1);
    position: relative;
    overflow: hidden;
}


.mission-card:hover,
.vision-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(163, 124, 57, 0.2);
    border-color: rgba(163, 124, 57, 0.2);
}

.mission-card h2,
.vision-card h2 {
    font-size: 1.8rem;
    color: var(--gold-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.mission-card p,
.vision-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

/* Statistics Section */
.stats-section {
    padding: 0 0 6rem 0;
    background: var(--light);
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s ease;
    background: white;
    box-shadow: 0 10px 30px rgba(163, 124, 57, 0.08);
    border: 1px solid rgba(163, 124, 57, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-color) 0%, var(--light-gold) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(163, 124, 57, 0.15);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    margin-bottom: 1.5rem;
}

.stat-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.stat-item:hover .stat-icon img {
    filter: grayscale(0%) brightness(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: -3rem;
    width: 50%;
    padding: 0 3rem;
}

.timeline-item.left {
    right: 0;
    text-align: right;
}

.timeline-item.right {
    right: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--gold-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--gold-color);
}

.timeline-item.left::before {
    left: -10px;
}

.timeline-item.right::before {
    right: -10px;
}

.timeline-content {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(163, 124, 57, 0.1);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(163, 124, 57, 0.1);
    overflow: hidden;
}



.timeline-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(163, 124, 57, 0.2);
    border-color: rgba(163, 124, 57, 0.2);
}

.timeline-year {
    display: inline-block;
    background: var(--gold-color);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-image {
    margin-top: 1rem;
}

.timeline-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--light);
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(163, 124, 57, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(163, 124, 57, 0.1);
    position: relative;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-color) 0%, var(--light-gold) 100%);
    z-index: 1;
}

.member-card:hover {
    box-shadow: 0 30px 60px rgba(163, 124, 57, 0.2);
    border-color: rgba(163, 124, 57, 0.2);
    transform: scale(1.02);
}

.member-photo {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.member-position {
    color: var(--gold-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-bio {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(163, 124, 57, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(163, 124, 57, 0.1);
    position: relative;
    overflow: hidden;
}


.value-card:hover {
    box-shadow: 0 25px 50px rgba(163, 124, 57, 0.2);
    border-color: rgba(163, 124, 57, 0.2);
    transform: scale(1.02);
}

.value-icon {
    margin-bottom: 1.5rem;
}

.value-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.value-item:hover .value-icon img {
    filter: grayscale(0%) brightness(1);
}

.value-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-content p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation Classes */
.timeline-item,
.team-member,
.value-item,
.mission-card,
.vision-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.animate-in,
.team-member.animate-in,
.value-item.animate-in,
.mission-card.animate-in,
.vision-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Specific animations for different elements */
.timeline-item.left.animate-in {
    animation: slideInLeft 0.6s ease-out;
}

.timeline-item.right.animate-in {
    animation: slideInRight 0.6s ease-out;
}

.team-member.animate-in {
    animation: fadeInScale 0.6s ease-out;
}

.value-item.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

.mission-card.animate-in,
.vision-card.animate-in {
    animation: fadeInScale 0.6s ease-out;
}

/* Responsive Design */


.order-item .variation-modifier {
    color: var(--gold-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.order-item .item-total {
    font-weight: bold;
    color: var(--black);
    font-size: 1.1rem;
}

/* Price Update Functionality */
.update-gold-price-btn {
    background: var(--gold-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.update-gold-price-btn:hover {
    background: #8a6a2f;
    transform: translateY(-2px);
}

.update-gold-price-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.update-gold-price-btn.loading {
    color: transparent;
}

.update-gold-price-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gold-price-display {
    font-size: 18px;
    font-weight: bold;
    color: var(--gold-color);
    transition: all 0.3s ease;
}

.gold-price-display.updated {
    animation: priceUpdate 0.5s ease-in-out;
}

@keyframes priceUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: #28a745; }
    100% { transform: scale(1); }
}

.price-loading {
    display: none;
    color: var(--gold-color);
    font-size: 14px;
    margin-right: 10px;
}

.price-loading.show {
    display: inline-block;
}

.price-update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    font-family: inherit;
}

.price-update-notification.show {
    transform: translateX(0);
}

.price-update-notification.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.price-update-notification.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.price-update-notification i {
    margin-left: 8px;
}

/* Price update widget styles */
.price-update-widget {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-update-widget h3 {
    color: var(--gold-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.price-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}


.price-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.last-updated {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* Breadcrumb Styles */
.breadcrumbs {
    margin: -1rem 0 2rem 0;
    padding: 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '•';
    margin: 0 0.5rem;
    color: var(--gold-color);
    font-weight: bold;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--gold-color);
}

.breadcrumb-item.active {
    color: var(--gold-color);
    font-weight: 500;
}
