/* SipSipspot Custom Styles */

:root {
    --sip-green: #4d7653;
    --sip-green-dark: #3a593e;
    --sip-green-light: #eef4f0;
    --sip-brown: #4a3b32;
    --sip-cream: #f9f6f0;
    --sip-peach: #fcdbc4;
    --sip-gold: #c98a4b;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1ede4;
}
::-webkit-scrollbar-thumb {
    background: #c5b8a5;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--sip-green);
}

/* Typography Overrides */
.display-font {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.serif-font {
    font-family: 'Playfair Display', serif;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-panel-dark {
    background: rgba(42, 33, 27, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dietary Badges */
.badge-veg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1.5px solid #16a34a;
    border-radius: 3px;
    padding: 2px;
}
.badge-veg-dot {
    width: 6px;
    height: 6px;
    background-color: #16a34a;
    border-radius: 50%;
}

.badge-non-veg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1.5px solid #dc2626;
    border-radius: 3px;
    padding: 2px;
}
.badge-non-veg-dot {
    width: 6px;
    height: 6px;
    background-color: #dc2626;
    border-radius: 50%;
}

/* Product Card Effects */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(77, 118, 83, 0.15);
}

/* Tab Underline Animation */
.tab-active {
    background-color: var(--sip-green) !important;
    color: #ffffff !important;
    border-color: var(--sip-green) !important;
}

/* Shimmer Loading Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.animate-shimmer {
    background: linear-gradient(90deg, #f0ede6 25%, #fdfbf7 50%, #f0ede6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Drawer Transitions */
#mobileMenuDrawer {
    transition: transform 0.3s ease-in-out;
}

/* Rich Blog Article Typography & Components */
.prose h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #4a3b32;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #eae3d8;
    padding-bottom: 0.5rem;
}

.prose h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #3a593e;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.prose p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4a3b32;
    margin-bottom: 1.4rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #4a3b32;
    font-size: 1.02rem;
    line-height: 1.75;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid #4d7653;
    background: #eef4f0;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: #2e4431;
    font-size: 1.1rem;
    line-height: 1.7;
}

.prose a {
    color: #4d7653;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.prose a:hover {
    color: #3a593e;
}

.prose .article-img-wrap {
    margin: 2rem 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(74, 59, 50, 0.1);
    background: #ffffff;
    border: 1px solid #eae3d8;
}

.prose .article-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.prose .article-img-wrap figcaption {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: #7a6e65;
    background: #fdfbf7;
    border-top: 1px solid #eae3d8;
    text-align: center;
    font-style: italic;
}

.prose .cta-box {
    background: linear-gradient(135deg, #f9f6f0 0%, #eef4f0 100%);
    border: 2px solid #4d7653;
    border-radius: 1.25rem;
    padding: 1.75rem;
    margin: 2.25rem 0;
    text-align: center;
    box-shadow: 0 8px 20px rgba(77, 118, 83, 0.08);
}

.prose .cta-box h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: #4d7653;
    margin-bottom: 0.5rem;
}

.prose .cta-box p {
    font-size: 0.95rem;
    color: #4a3b32;
    margin-bottom: 1.25rem;
}

.prose .cta-box .btn-cta {
    display: inline-block;
    background: #4d7653;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(77, 118, 83, 0.25);
}

.prose .cta-box .btn-cta:hover {
    background: #3a593e;
    transform: translateY(-2px);
}

/* FAQ Accordion Component */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.5rem 0 2rem 0;
}

.faq-item {
    background: #ffffff;
    border: 1.5px solid #eae3d8;
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
    border-color: #4d7653;
    box-shadow: 0 6px 18px rgba(77, 118, 83, 0.1);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.35rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #4a3b32;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s, color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background-color: #fbf9f4;
    color: #4d7653;
}

.faq-item[open] summary {
    background-color: #f6f8f6;
    color: #3a593e;
    border-bottom: 1px solid #eef4f0;
}

.faq-item summary .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1ede4;
    color: #4a3b32;
    font-size: 0.75rem;
    transition: transform 0.3s ease, background-color 0.2s, color 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary .faq-icon {
    transform: rotate(180deg);
    background: #4d7653;
    color: #ffffff;
}

.faq-answer {
    padding: 1.25rem 1.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #4a3b32;
    background: #ffffff;
    animation: fadeInFaq 0.3s ease-out;
}

.faq-answer p {
    margin-bottom: 0.75rem !important;
    font-size: 0.98rem !important;
}

.faq-answer p:last-child {
    margin-bottom: 0 !important;
}

@keyframes fadeInFaq {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reading Progress Bar */
#readingProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #4d7653, #8cb392);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* Sidebar Table of Contents */
.toc-link {
    display: block;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    color: #6b5d52;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    border-radius: 0 0.5rem 0.5rem 0;
    line-height: 1.4;
}

.toc-link:hover {
    color: #4d7653;
    background-color: #f6f8f6;
    border-left-color: #4d7653;
    transform: translateX(2px);
}

.toc-link.active {
    color: #3a593e;
    font-weight: 700;
    background-color: #eef4f0;
    border-left-color: #4d7653;
}

/* Toast Alert for Copy Link */
#copyToast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #2e241e;
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#copyToast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Slim Scrollbar for Sticky Sidebar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d4cdbc;
    border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #4d7653;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #d4cdbc transparent;
}
