/**
 * Marchio di Guanti - Custom Styles
 * Additional styles for enhanced bento layout and liquid glass effects
 */

/* Enhanced Liquid Glass Effects */
.glass-card-premium {
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(74, 63, 53, 0.1) 100%);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* Advanced Bento Grid Variations */
.bento-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.bento-asymmetric {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 150px;
    gap: 1.5rem;
}

.bento-asymmetric .item-1 {
    grid-column: span 3;
    grid-row: span 2;
}

.bento-asymmetric .item-2 {
    grid-column: span 3;
    grid-row: span 1;
}

.bento-asymmetric .item-3 {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-asymmetric .item-4 {
    grid-column: span 4;
    grid-row: span 1;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f0c850;
}

/* Loading Animation */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hover Effects Enhancement */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.hover-glow {
    position: relative;
    overflow: hidden;
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hover-glow:hover::before {
    width: 300px;
    height: 300px;
}

/* Text Gradient Effects */
.text-gradient-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #f0c850 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shimmer {
    background: linear-gradient(90deg,
            var(--primary-gold) 0%,
            #fff 50%,
            var(--primary-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Particle Background Effect */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Card Tilt Effect */
.card-tilt {
    transform-style: preserve-3d;
    /* Removed hover transform to allow JS to handle it */
}

/* Gradient Borders */
.gradient-border {
    position: relative;
    background: var(--dark-bg);
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-gold), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ==========================================
   ENHANCED SCROLL ANIMATIONS SYSTEM
   ========================================== */

/* Base state for animated elements */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Fade In Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Down */
.fade-in-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-down.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide In Left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.9s ease-out forwards;
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.9s ease-out forwards;
}

/* Scale In */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.7s ease-out forwards;
}

/* Rotate In */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.95);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 0.8s ease-out forwards;
}

/* Blur In */
@keyframes blurIn {
    from {
        opacity: 0;
        filter: blur(10px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

.blur-in {
    animation: blurIn 1s ease-out forwards;
}

/* Stagger Animations - Children appear one after another */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.animated>*:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

.stagger-children.animated>*:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.stagger-children.animated>*:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

.stagger-children.animated>*:nth-child(4) {
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.stagger-children.animated>*:nth-child(5) {
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

.stagger-children.animated>*:nth-child(6) {
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.stagger-children.animated>*:nth-child(7) {
    animation: fadeInUp 0.6s ease-out 0.7s forwards;
}

.stagger-children.animated>*:nth-child(8) {
    animation: fadeInUp 0.6s ease-out 0.8s forwards;
}

.stagger-children.animated>*:nth-child(9) {
    animation: fadeInUp 0.6s ease-out 0.9s forwards;
}

/* Fast Stagger - for many items */
.stagger-fast>* {
    opacity: 0;
    transform: translateY(15px);
}

.stagger-fast.animated>*:nth-child(1) {
    animation: fadeInUp 0.4s ease-out 0.05s forwards;
}

.stagger-fast.animated>*:nth-child(2) {
    animation: fadeInUp 0.4s ease-out 0.1s forwards;
}

.stagger-fast.animated>*:nth-child(3) {
    animation: fadeInUp 0.4s ease-out 0.15s forwards;
}

.stagger-fast.animated>*:nth-child(4) {
    animation: fadeInUp 0.4s ease-out 0.2s forwards;
}

.stagger-fast.animated>*:nth-child(5) {
    animation: fadeInUp 0.4s ease-out 0.25s forwards;
}

.stagger-fast.animated>*:nth-child(6) {
    animation: fadeInUp 0.4s ease-out 0.3s forwards;
}

.stagger-fast.animated>*:nth-child(7) {
    animation: fadeInUp 0.4s ease-out 0.35s forwards;
}

.stagger-fast.animated>*:nth-child(8) {
    animation: fadeInUp 0.4s ease-out 0.4s forwards;
}

.stagger-fast.animated>*:nth-child(9) {
    animation: fadeInUp 0.4s ease-out 0.45s forwards;
}

/* Split Text Reveal (for headings) */
.reveal-text {
    opacity: 0;
}

.reveal-text.animated {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Delay Utilities */
.delay-100 {
    animation-delay: 0.1s !important;
}

.delay-200 {
    animation-delay: 0.2s !important;
}

.delay-300 {
    animation-delay: 0.3s !important;
}

.delay-400 {
    animation-delay: 0.4s !important;
}

.delay-500 {
    animation-delay: 0.5s !important;
}

.delay-600 {
    animation-delay: 0.6s !important;
}

.delay-700 {
    animation-delay: 0.7s !important;
}

.delay-800 {
    animation-delay: 0.8s !important;
}

/* Duration Utilities */
.duration-fast {
    animation-duration: 0.5s !important;
}

.duration-normal {
    animation-duration: 0.8s !important;
}

.duration-slow {
    animation-duration: 1.2s !important;
}

/* ==================================
   LEGACY ANIMATIONS (kept for compatibility)
   ================================== */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger Animations */
.stagger-animation>* {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-animation>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-animation>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-animation>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-animation>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-animation>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-animation>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.p-5 {
    padding: 3rem;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }

    .show-desktop {
        display: block !important;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .glass-card {
        background: white;
        border: 1px solid #ddd;
    }
}

/* =========================================
   Header Styles (Migrated from header.php)
   ========================================= */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Header Actions (Lang + Cart) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    /* Push to right */
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-switcher a {
    text-decoration: none;
    font-size: 1.4rem;
    /* Slightly larger flags */
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
    line-height: 1;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.site-branding .site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.5rem;
}

.custom-logo-link img {
    height: 50px;
    width: auto;
}

.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0 auto;
    /* Center the menu */
    padding: 0;
}

.main-navigation {
    margin: 0 auto;
    /* Ensure the container is centered */
}

.main-navigation .nav-menu li {
    margin: 0;
}

.main-navigation .nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.main-navigation .nav-menu a:hover,
.main-navigation .nav-menu a.current {
    color: var(--primary-gold);
}

.main-navigation .nav-menu a:hover::after,
.main-navigation .nav-menu a.current::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 100px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 600px;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-navigation.active {
        opacity: 1;
        visibility: visible;
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-navigation .nav-menu a {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 10px;
        width: calc(100% - 20px);
        padding: 0.75rem 1.5rem;
    }
}

/* =========================================
   Footer Styles (Migrated from footer.php)
   ========================================= */
.site-footer {
    margin-top: 8rem;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-section {
    padding: 2rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--text-light);
}

.footer-tagline {
    color: var(--primary-gold);
    font-style: italic;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.footer-description {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.contact-info svg {
    color: var(--primary-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

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

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-contact a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
    text-decoration: underline;
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-credits a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.footer-credits a:hover {
    text-decoration: underline;
}

.footer-credits .heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 4rem;
        padding: 3rem 0 1.5rem;
    }

    .footer-section {
        padding: 1.5rem;
    }

    .footer-content {
        gap: 1rem;
    }
}

/* =========================================
   Index/Blog Styles (Migrated from index.php)
   ========================================= */
.content-area {
    padding: 12rem 0 6rem;
}

.posts-grid {
    margin-bottom: 4rem;
}

.post-card {
    overflow: hidden;
}

.post-thumbnail {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-content {
    padding: 1.5rem;
}

.entry-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
}

.entry-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cat-links a {
    color: var(--primary-gold);
    text-decoration: none;
}

.cat-links a:hover {
    text-decoration: underline;
}

.entry-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.entry-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--primary-gold);
}

.entry-summary {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.no-results {
    padding: 4rem;
    text-align: center;
}

.no-results h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    margin-bottom: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-gold);
    color: var(--dark-bg);
    border-color: var(--primary-gold);
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

@media (max-width: 768px) {
    .content-area {
        padding: 10rem 0 4rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Home Page Styles (Migrated from page-home.php)
   ========================================= */
/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-eyebrow {
    color: var(--primary-gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
}

.hero-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    color: var(--primary-gold);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Storia Section */
.storia-section {
    padding: 6rem 0;
}

.storia-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-grid {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    text-align: left;
}

.section-eyebrow {
    display: block;
    color: var(--primary-gold);
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.storia-image-card {
    overflow: hidden;
}

.storia-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.storia-content-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Prevent button from stretching */
}

.storia-text {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

.storia-content-card .btn {
    margin-top: 1rem;
}

.storia-stats {
    margin-top: 2rem;
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
}

/* Arte Section */
.arte-section {
    padding: 6rem 0;
}

.arte-header {
    text-align: center;
    margin-bottom: 4rem;
}

.arte-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
}

.arte-card {
    padding: 2.5rem;
    position: relative;
}

.arte-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.2);
}

.arte-icon {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.arte-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.arte-card p {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
}

/* Collezioni Section */
.collezioni-section {
    padding: 6rem 0;
}

.collezioni-header {
    text-align: center;
    margin-bottom: 4rem;
}

.collezioni-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
}

.collezioni-grid.bento-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.collezione-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    text-decoration: none;
}

.collezione-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.collezione-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent);
}

.collezione-label {
    display: block;
    color: var(--primary-gold);
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.collezione-title {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.collezione-description {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
}

.cta-card {
    padding: 6rem 3rem;
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .storia-content-card,
    .arte-card,
    .cta-card {
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================
   Shop Page Styles (Migrated from page-shop.php)
   ========================================= */
/* Shop Header */
.shop-header {
    padding: 12rem 0 4rem;
    text-align: center;
}

.shop-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Shop Layout */
.shop-content {
    padding: 4rem 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

/* Sidebar */
.shop-sidebar {
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.filter-group {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-checkbox,
.filter-radio {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.filter-checkbox input,
.filter-radio input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox:hover,
.filter-radio:hover {
    color: var(--text-light);
}

.btn-filter {
    width: 100%;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
}

.products-count {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
}

.products-count strong {
    color: var(--primary-gold);
}

.orderby-select {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.orderby-select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* Products Grid */
.products-grid {
    margin-bottom: 3rem;
}

.product-card {
    overflow: hidden;
    cursor: pointer;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

.product-info {
    padding: 1rem;
}

.product-collection {
    display: block;
    font-size: 0.75rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
}

.stars {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.rating-count {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.product-price {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Custom Service */
.custom-service-section {
    padding: 4rem 0 6rem;
}

.custom-service-card {
    padding: 4rem 3rem;
    text-align: center;
}

.custom-service-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.custom-service-card p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}

/* Responsive */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        max-width: 600px;
        margin: 0 auto 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .shop-toolbar {
        flex-direction: column;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .custom-service-card {
        padding: 3rem 2rem;
    }

    .custom-service-card h2 {
        font-size: 2rem;
    }
}

/* =========================================
   Footer Bento Grid Styles (Premium Fix)
   ========================================= */
.site-footer .container {
    max-width: 100%;
    padding: 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Bento Cards Styling */
.footer-brand,
.footer-links,
.footer-legal,
.footer-newsletter {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-brand:hover,
.footer-links:hover,
.footer-legal:hover,
.footer-newsletter:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Grid Positioning */
.footer-brand {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-links {
    grid-column: span 2;
}

.footer-legal {
    grid-column: span 2;
}

.footer-newsletter {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Bento */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 2;
    }

    .footer-links,
    .footer-legal {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-links,
    .footer-legal,
    .footer-newsletter {
        grid-column: span 1;
    }
}

/* Footer Typography & Colors (Refined) */
.footer-grid h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-legal a {
    color: var(--primary-gold);
    /* User requested ochre links */
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.9;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #fff;
    transform: translateX(5px);
    opacity: 1;
}

.footer-desc,
.footer-newsletter p {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-logo {
    color: var(--text-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
    letter-spacing: -0.5px;
}

/* Footer Bottom & Social Links */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Logo Styling */
.logo-img {
    height: auto;
    display: block;
}

.site-header .logo-img {
    max-height: 40px;
    width: auto;
}

.footer-logo .logo-img {
    max-width: 180px;
    margin-bottom: 1rem;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   CUSTOM PRODUCT VARIATION SWATCHES
   ========================================== */

/* Hide default WooCommerce selects but keep them accessible for logic */
.variations select {
    display: none !important;
}

.custom-swatch-container {
    margin-bottom: 1.5rem;
}

.custom-swatch-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.custom-swatch-label .selected-value {
    color: var(--primary-gold);
    font-weight: 400;
    margin-left: 0.5rem;
}

.swatch-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.swatch-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.swatch-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.swatch-item.selected {
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Color Swatches (Circles) */
.swatch-item.type-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
}

.swatch-color-fill {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    /* Gap between border and fill */
    background-clip: content-box;
}

/* Size Swatches (Squares) */
.swatch-item.type-size {
    min-width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.swatch-item.type-size.selected {
    background: var(--primary-gold);
    color: var(--dark-bg);
    font-weight: 700;
}

/* Disabled / Out of Stock State */
.swatch-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    /* Prevent clicking */
    border-color: rgba(255, 255, 255, 0.05);
}

.swatch-item.disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.05);
}

/* X Overlay for disabled items */
.swatch-item.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background: #ff6b6b;
    transform: translate(-50%, -50%) rotate(45deg);
}

.swatch-item.disabled::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background: #ff6b6b;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Adjust X size for circles vs squares if needed */
.swatch-item.type-color.disabled::after,
.swatch-item.type-color.disabled::before {
    width: 70%;
}

.swatch-item.type-size.disabled::after,
.swatch-item.type-size.disabled::before {
    width: 80%;
}

/* Fix Add to Cart Button Color */
.single_add_to_cart_button,
button.single_add_to_cart_button,
.woocommerce button.button.alt {
    background-color: var(--primary-gold) !important;
    color: var(--dark-bg) !important;
    border: none !important;
}

.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover {
    background-color: #f0c850 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3) !important;
}

/* ==========================================
   QUICK CHECKOUT STYLES
   ========================================== */
.checkout-container {
    padding-top: 120px;
    padding-bottom: 60px;
}

/* 2-Column Grid Layout */
.checkout-grid-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Left Column: Customer Details */
.checkout-details-column .col2-set {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-bottom: 0;
}

.checkout-details-column .col-1,
.checkout-details-column .col-2 {
    float: none;
    width: 100%;
    max-width: 100%;
}

/* Right Column: Order Review */
.checkout-review-column {
    position: sticky;
    top: 140px;
}

.glass-card-inner {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Headings */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading {
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

/* Form Fields */
.woocommerce-input-wrapper {
    width: 100%;
}

.woocommerce form .form-row {
    padding: 0;
    margin-bottom: 1.2rem;
    width: 100%;
}

.woocommerce form .form-row label {
    color: var(--text-gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    display: block;
    font-weight: 500;
}

/* Inputs & Textareas - Dark Mode Fix */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.select2-container .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-light) !important;
    padding: 0.8rem 1rem;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    height: 50px;
    /* Fixed height for consistency */
    width: 100%;
    box-shadow: none !important;
}

.woocommerce form .form-row textarea {
    height: 120px;
    padding-top: 1rem;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-gold) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1) !important;
}

/* Select2 Overrides (The tricky part) */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-light) !important;
    line-height: 50px !important;
    /* Match input height */
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    top: 1px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--text-gray) transparent transparent transparent !important;
}

.select2-dropdown {
    background-color: #1a1a1a !important;
    /* Solid dark background */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    z-index: 9999;
}

.select2-results__option {
    color: var(--text-light) !important;
    padding: 0.8rem 1rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-gold) !important;
    color: var(--dark-bg) !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Search box in dropdown */
.select2-search--dropdown .select2-search__field {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-light) !important;
    border-radius: 4px !important;
    padding: 0.5rem !important;
}

/* Order Review Table */
.woocommerce-checkout-review-order table.shop_table {
    border: none;
    margin-bottom: 1.5rem;
}

.woocommerce-checkout-review-order table.shop_table th,
.woocommerce-checkout-review-order table.shop_table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.woocommerce-checkout-review-order table.shop_table thead th {
    border-top: none;
    border-bottom: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-gold);
    padding-top: 1.5rem;
}

/* Payment Methods */
#payment {
    background: transparent;
    border-radius: 0;
}

#payment ul.payment_methods {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

#payment div.payment_box {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

#payment .place-order .button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    background: var(--primary-gold);
    color: var(--dark-bg);
    border-radius: 12px;
    margin-top: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#payment .place-order .button:hover {
    background: #f0c850;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .checkout-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkout-review-column {
        position: static;
    }
}