/* ==========================================================================
   DEFAULT CORE STYLES
   - Global scroll behavior
   - Shared header + menu
   - Shared footer
   - Loader safety fallback
   ========================================================================== */
/* Global scroll setup (Lenis-compatible + hidden native scrollbar) */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html:not(.lenis) {
    scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
    height: auto;
}

html.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

html.lenis.lenis-stopped {
    overflow: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

html,
body {
    overscroll-behavior-y: auto;
}

body {
    overflow-x: hidden;
}

/* Global page canvas — ensuring dark background prevents white flash/gaps below header */
html,
body,
html.page-home-html,
html.page-home-html body {
    background-color: #222222;
}

/* Global text selection color */
::selection {
    background: #222222;
    color: #ffffff;
    text-shadow: none;
}

/* --------------------------------------------------------------------------
   Global scrollbars (nested overflow only — html/body stay hidden above)
   Jahan bhi scroll dikhe (textarea, modal, overflow:auto, etc.) wahi patla neela thumb.
   Dark/light sections: :root vars override kar sakte ho.
   -------------------------------------------------------------------------- */
:root {
    --prtfollio-scrollbar-size: 3px;
    --prtfollio-scrollbar-track: transparent;
    --prtfollio-scrollbar-thumb: #3b66f5;
    --prtfollio-scrollbar-thumb-hover: #5a7df7;
    --master-accent: #3b82f6;
    --master-accent-glow: rgba(59, 130, 246, 0.4);
}

*:not(html):not(body) {
    scrollbar-width: thin;
    scrollbar-color: var(--prtfollio-scrollbar-thumb) var(--prtfollio-scrollbar-track);
}

*:not(html):not(body)::-webkit-scrollbar {
    width: var(--prtfollio-scrollbar-size);
    height: var(--prtfollio-scrollbar-size);
}

*:not(html):not(body)::-webkit-scrollbar-track {
    background: var(--prtfollio-scrollbar-track);
}

*:not(html):not(body)::-webkit-scrollbar-thumb {
    background: var(--prtfollio-scrollbar-thumb);
    border-radius: 100px;
}

*:not(html):not(body)::-webkit-scrollbar-thumb:hover {
    background: var(--prtfollio-scrollbar-thumb-hover);
}

/* Aggressive removal of all scrollbar buttons/arrows */
::-webkit-scrollbar-button,
::-webkit-scrollbar-button:start,
::-webkit-scrollbar-button:end,
::-webkit-scrollbar-button:vertical:start:increment,
::-webkit-scrollbar-button:vertical:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment,
::-webkit-scrollbar-button:vertical:end:decrement,
::-webkit-scrollbar-button:horizontal:start:increment,
::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:horizontal:end:increment,
::-webkit-scrollbar-button:horizontal:end:decrement {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    max-height: 0px !important;
    max-width: 0px !important;
    background: transparent !important;
    border: none !important;
}

*:not(html):not(body)::-webkit-scrollbar-corner {
    background: transparent;
}

/* Shared header shell (exact visual parity with mynew) */
.home-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Chhoti width: halka inset (pehle jaisa). Bada padding sirf min-width:992px par — taaki phone/tablet par logo–edge gap na phoole */
    padding: 0.5rem clamp(1.25rem, 5vw, 2.25rem);
    gap: 1rem;
    pointer-events: none;
    box-sizing: border-box;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, background;
}

.home-header * {
    pointer-events: auto;
}

.home-header.sticky {
    position: fixed !important;
    animation: fadeInDown 0.5s ease-in-out;
}

/* Header logo sizing */
.home-logo {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1001;
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.home-logo img {
    width: auto;
    display: block;
}

.home-header--bar {
    align-items: center;
    background: #222222;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.home-header--bar .home-logo img {
    height: clamp(48px, 11vw, 62px);
}

body.page-home .home-header.home-header--bar:not(.sticky) {
    background: transparent;
    box-shadow: none;
}

body.page-home .home-header.sticky {
    background: #222222;
    box-shadow: 0px 20px 30px rgba(255, 255, 255, 0.1);
}

body.page-inner .home-header.sticky {
    background: #222222;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

body.page-inner main.flex-shrink-0 {
    padding-top: 4.75rem;
}

@media (min-width: 992px) {
    .home-header {
        padding: 0.65rem clamp(4rem, 15vw, 10.5rem);
    }
}

/* Phone / tablet: logo–menu ke kinaro par zyada margin nahi — sirf chhota inset + safe-area */
@media (max-width: 991.98px) {
    .home-header {
        padding: 0.45rem max(0.4rem, env(safe-area-inset-right, 0px)) 0.45rem max(0.4rem, env(safe-area-inset-left, 0px));
        gap: 0.35rem;
    }
}

/* Header right — hamburger (overlay full screen alag) */
.home-nav {
    position: relative;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    will-change: transform;
}

@media (max-width: 991.98px) {
    .home-nav {
        padding: 0.35rem;
    }
}

.home-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #111111 !important;
    color: #ffffff !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.home-nav-btn:hover {
    background: #3b82f6 !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.home-nav-btn i {
    line-height: 1;
}

/* --- Global Header Cart Toggle & Badge --- */
.cart-toggle-header {
    position: relative;
    width: 50px;
    height: 50px;
}

.cart-count-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #3b82f6 !important;
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    min-width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.5) !important;
    z-index: 10 !important;
}

/* Full-screen menu overlay (reference: dark canvas + left links + watermark + social) */
.home-nav-overlay {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 10000;
    background: #0e0e0e;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    overscroll-behavior: none;
    touch-action: pan-y;
    will-change: opacity, visibility;
}

.home-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.home-nav-overlay-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: min(100%, 100dvh);
    padding-top: max(1rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    padding-left: clamp(2.1rem, 8.5vw, 5.25rem);
    padding-right: clamp(2.1rem, 9vw, 5.75rem);
    box-sizing: border-box;
    position: relative;
}

.home-nav-overlay-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-shrink: 0;
    margin-bottom: clamp(0.75rem, 3vh, 1.75rem);
}

.home-nav-overlay-logo {
    display: block;
    line-height: 0;
    margin-left: 0;
    margin-top: 0.65rem;
}

.home-nav-overlay-logo img {
    height: clamp(110px, 30vw, 168px);
    width: auto;
    display: block;
    filter: brightness(1.08);
}

.home-nav-overlay-close {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    margin-top: 0.65rem;
    margin-right: 0.85rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-nav-overlay-close:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

.home-nav-overlay-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 0;
    padding-top: 0;
}

.home-nav-overlay-nav {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(0.25rem, 1.5vh, 0.65rem);
    max-width: min(100%, 520px);
    margin-top: 0.85rem;
}

.home-nav-overlay-nav a {
    font-family: "Archivo", system-ui, sans-serif;
    font-size: clamp(1.35rem, 4.5vw, 2.35rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.home-nav-overlay-nav a:hover {
    color: #60a5fa;
    transform: translateX(6px);
}

.home-nav-overlay-nav a[aria-current="page"] {
    color: #60a5fa;
}

.home-nav-overlay-watermark {
    position: absolute;
    right: clamp(0.75rem, 5vw, 10%);
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 1;
    font-family: "Archivo", system-ui, sans-serif;
    font-size: clamp(4rem, 12vw, 10.5rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.14);
    white-space: normal;
    pointer-events: none;
    user-select: none;
    max-width: min(88vw, 500px);
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.06em;
}

@media (min-width: 601px) and (max-width: 1023.98px) {
    .home-nav-overlay-watermark {
        font-size: clamp(4.35rem, 14vw, 9.25rem);
        max-width: min(86vw, 480px);
    }
}

@media (min-width: 1024px) {
    .home-nav-overlay-watermark {
        font-size: clamp(4.85rem, 10.5vw, 12.25rem);
        max-width: min(78vw, 580px);
    }
}

.home-nav-overlay-watermark-line {
    display: block;
}

.home-nav-overlay-bottom {
    flex-shrink: 0;
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
}

.home-nav-overlay-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-nav-overlay-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-nav-overlay-social a:hover {
    border-color: #3b82f6;
    color: #fff;
    background: rgba(59, 130, 246, 0.15);
}

body.prtfollio-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

html.prtfollio-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}

@media (prefers-reduced-motion: reduce) {
    .home-nav-overlay {
        transition: none;
    }

    .home-nav-overlay-nav a {
        transition: color 0.2s ease;
    }

    .home-nav-overlay-nav a:hover {
        transform: none;
    }

    .home-header.sticky {
        animation: none;
    }
}

@media (max-width: 600px) {
    .home-nav-overlay-inner {
        padding-left: max(1.2rem, env(safe-area-inset-left, 0px));
        padding-right: max(0.25rem, env(safe-area-inset-right, 0px));
    }

    .home-nav-overlay-close {
        margin-right: 0;
    }

    .home-nav-overlay-watermark {
        font-size: clamp(2.95rem, 18vw, 4.85rem);
        right: max(0.65rem, env(safe-area-inset-right, 0px));
        max-width: min(92vw, 360px);
        color: rgba(255, 255, 255, 0.16);
    }
}

/* Shared footer (exact mynew visual parity) */
.site-footer {
    --footer-accent: #3b82f6;
    --footer-accent-soft: rgba(59, 130, 246, 0.35);
    position: relative;
    z-index: 2;
    overflow: hidden;
    color: #fff;
    font-family: "Tenor Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #0a0a0a;
    border-top: none;
    isolation: isolate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(22rem, 46vh, 36rem);
    /* Mobile Optimization */
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 10px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.28) 0%,
            rgba(255, 255, 255, 0.12) 45%,
            rgba(255, 255, 255, 0.04) 70%,
            rgba(255, 255, 255, 0) 100%);
    filter: blur(2.5px);
    -webkit-filter: blur(2.5px);
    z-index: 1;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.site-footer-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--section-padding-x, 1.5rem);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr 0.92fr 1.12fr;
    gap: 1.75rem 1.5rem;
    padding: 6.75rem 0 0.5rem;
}

.site-footer-col {
    min-width: 0;
}

.site-footer-heading {
    font-family: "Archivo", sans-serif;
    font-size: 1.14rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 1.1rem;
    padding-left: 0.85rem;
    border-left: none;
    line-height: 1.3;
    position: relative;
    isolation: isolate;
    background: transparent;
}

.site-footer-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    min-height: 1.2em;
    border-radius: 3px;
    background: linear-gradient(185deg,
            rgba(37, 99, 235, 0.55) 0%,
            var(--footer-accent, #3b82f6) 18%,
            rgba(147, 197, 253, 0.92) 42%,
            rgba(96, 165, 250, 0.75) 50%,
            rgba(147, 197, 253, 0.92) 58%,
            var(--footer-accent, #3b82f6) 82%,
            rgba(37, 99, 235, 0.55) 100%);
    background-size: 100% 420%;
    background-repeat: no-repeat;
    animation: siteFooterHeadingAccentFlow 4.2s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    pointer-events: none;
    z-index: 0;
    opacity: 0.98;
}

.site-footer-label {
    font-family: "Archivo", sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: none;
    color: #fff;
    margin: 2.15rem 0 0.45rem;
    line-height: 1.35;
}

.site-footer-col.site-footer-address>.site-footer-label:first-of-type {
    margin-top: 1.05rem;
}

.site-footer-address-text,
.site-footer-phone,
.site-footer-email {
    font-family: "Tenor Sans", sans-serif;
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.65;
    color: #fff;
    margin: 0 0 0.85rem;
}

.site-footer-phone a,
.site-footer-email a {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer-email a {
    word-break: break-word;
}

.site-footer-phone a:hover,
.site-footer-email a:hover {
    color: #3b82f6;
}

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.site-footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18rem;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.site-footer-social a:hover {
    transform: translateY(-2px);
}

.site-footer-social a:nth-child(1):hover {
    border-color: #0a66c2;
    color: #fff;
    background: #0a66c2;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.35);
}

.site-footer-social a:nth-child(2):hover {
    border-color: #1877f2;
    color: #fff;
    background: #1877f2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.site-footer-social a:nth-child(3):hover {
    border-color: #e4405f;
    color: #fff;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    background-size: 200% 200%;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
}

.site-footer-work-line {
    font-family: "Tenor Sans", sans-serif;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.65;
    color: #fff;
    margin: 0 0 0.8rem;
}

.site-footer-work-cta {
    font-family: "Archivo", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    margin: 1.2rem 0 0.45rem;
}

.site-footer-work-line--last {
    margin-bottom: 0;
    font-family: "Tenor Sans", sans-serif;
    font-weight: 500;
}

.site-footer .contact-circle-wrap.contact-circle-wrap--footer {
    position: relative;
    right: auto;
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
    width: 180px;
    height: 180px;
    max-width: min(180px, 100%);
    margin-top: 1.5rem;
    margin-bottom: 2.75rem;
    z-index: 1;
    box-sizing: border-box;
}

.contact-circle-wrap--footer .contact-circle-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    animation: contactSpin 24s linear infinite;
}

.contact-circle-img-footer {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: contactSpin 20s linear infinite;
}

.contact-circle-wrap--footer .contact-circle-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-decoration: none;
    width: 120px;
    height: 120px;
    cursor: pointer;
    background: linear-gradient(145deg, #3b82f6 0%, #3b82f6 55%, #3b82f6 100%);
    box-shadow: none;

}

.contact-circle-wrap--footer:active .contact-circle-center {
    background: #004ecc;
    transform: translate(-50%, -50%) scale(1.05);
}

.contact-circle-wrap--footer:hover .contact-circle-arrow,
.contact-circle-wrap--footer:active .contact-circle-arrow {
    animation: arrowSlide 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.contact-circle-wrap--footer .contact-circle-arrow {
    font-size: 35px;
    color: #ffffff;
    line-height: 1;
    -webkit-text-stroke: 0.1px #fff;
    font-weight: 100;
}

.site-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-list li {
    margin-bottom: 0.95rem;
}

.site-footer-list li:last-child {
    margin-bottom: 0;
}

.site-footer-list a {
    font-family: "Tenor Sans", sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 1.06rem;
    font-weight: 400;
    line-height: 1.55;
    display: inline-block;
    position: relative;
    transition: color 0.2s ease;
}

.site-footer-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transition: width 0.25s ease;
}

.site-footer-list a:hover {
    color: #3b82f6;
}

.site-footer-list a:hover::after {
    width: 100%;
}

.site-footer-legal {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    padding: 0.75rem var(--section-padding-x, 1.5rem) 0.5rem;
    text-align: center;
    background: #0a0a0a;
}

.site-footer-legal-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.65rem;
    font-family: "Tenor Sans", sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
}

.site-footer-legal a {
    font-family: "Tenor Sans", sans-serif;
    font-weight: 700;
    color: var(--footer-accent, #3b82f6);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer-legal a:hover {
    color: #60a5fa;
}

.site-footer-legal-sep {
    color: var(--footer-accent, #3b82f6);
    opacity: 0.85;
    font-weight: 400;
    user-select: none;
}

.site-footer-bottom {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0a;
    padding: 1.2rem var(--section-padding-x, 2rem) 1.2rem;
}

.site-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.site-footer-copyright {
    font-family: "Tenor Sans", system-ui, -apple-system, sans-serif;
    font-size: 1.05rem;
    font-weight: 200;
    letter-spacing: 0.16em;
    word-spacing: 0.12em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.44);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Loader fallback (force non-blocking, prevents scroll lock) */
body.prtfollio-loading {
    overflow-y: auto !important;
}

.prtfollio-loader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

@media (max-width: 1023px) {
    .site-footer {
        min-height: auto;
        overflow-x: hidden;
    }

    .site-footer-inner {
        width: 100%;
        max-width: 100%;
        padding-left: clamp(1rem, 4vw, 1.75rem);
        padding-right: clamp(1rem, 4vw, 1.75rem);
        box-sizing: border-box;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        padding: 5.5rem 0 0.5rem;
        gap: 2rem;
    }

    .site-footer-col {
        width: 100%;
        max-width: 100%;
    }

    .site-footer-work .contact-circle-wrap--footer {
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer-heading {
        font-size: 1.06rem;
        letter-spacing: 0.11em;
        font-weight: 600;
    }

    .site-footer-label {
        font-size: 1.04rem;
        letter-spacing: 0.1em;
        font-weight: 600;
    }

    .site-footer-address-text,
    .site-footer-phone,
    .site-footer-email {
        font-size: 1.02rem;
    }

    .site-footer-list a {
        font-size: 1.02rem;
    }
}

@media (max-width: 576px) {

    /* Chhote phone: header edge pe kam se kam gap (991 rule + safe-area) */
    .home-header {
        padding: 0.4rem max(0.35rem, env(safe-area-inset-right, 0px)) 0.4rem max(0.35rem, env(safe-area-inset-left, 0px));
        gap: 0.3rem;
    }

    .home-nav {
        padding: 0.3rem;
    }

    .home-header--bar .home-logo img {
        height: 42px;
    }

    body.page-home .home-header--bar .home-logo img {
        height: 46px;
    }

    .home-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    body.page-inner main.flex-shrink-0 {
        padding-top: 4.75rem;
    }

    .site-footer {
        min-height: auto;
        overflow-x: hidden;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        padding: 4.75rem 0 0.5rem;
        gap: 1.5rem;
    }

    .site-footer .contact-circle-wrap.contact-circle-wrap--footer {
        width: 155px;
        height: 155px;
        margin-top: 1.25rem;
        margin-bottom: 1rem;
        z-index: 2;
    }

    .contact-circle-wrap--footer .contact-circle-text {
        width: 100%;
        height: 100%;
    }

    .contact-circle-wrap--footer .contact-circle-center {
        width: 95px;
        height: 95px;
    }

    .contact-circle-wrap--footer .contact-circle-arrow {
        font-size: 28px;
    }
}

/* --- Global Cart Drawer Interior --- */
.cart-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -500px !important;
    width: 450px !important;
    height: 100vh !important;
    background: rgba(10, 10, 10, 0.9) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    z-index: 2500 !important;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5) !important;
}

.cart-drawer.is-open {
    right: 0 !important;
}

.cart-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 2rem !important;
}

.cart-header h5 {
    font-family: 'Archivo', sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1) !important;
}

.btn-close-custom {
    background: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.btn-close-custom:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}

.mini-cart-items {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding-right: 5px !important;
}

.cart-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 24px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: background 0.3s ease !important;
}

.cart-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

.cart-item-thumb {
    width: 70px !important;
    height: 70px !important;
    background: #000 !important;
    border-radius: 15px !important;
    object-fit: contain !important;
    padding: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.cart-item h6 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin: 0 0 5px 0 !important;
    color: #ffffff !important;
}

.qty-control {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.qty-control span:not(.qty-val) {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.qty-btn {
    width: 26px !important;
    height: 26px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

.qty-btn:hover {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    transform: scale(1.1) !important;
}

.qty-val {
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #3b82f6 !important;
    min-width: 15px !important;
    text-align: center !important;
}

.remove-item-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: none !important;
    color: #ef4444 !important;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.remove-item-btn:hover {
    background: #ef4444 !important;
    color: #fff !important;
}

.cart-footer {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 25px !important;
    padding: 2rem !important;
    margin-top: auto !important;
}

.cart-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 1.5rem !important;
}

.cart-total span:first-child {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-weight: 700 !important;
}

.cart-total-amount {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

.checkout-btn {
    display: block !important;
    width: 100% !important;
    background: #ffffff !important;
    color: #000 !important;
    text-align: center !important;
    padding: 1.2rem !important;
    border-radius: 15px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    transition: all 0.3s ease !important;
}

.checkout-btn:hover {
    transform: translateY(-5px) !important;
    background: #3b82f6 !important;
    color: #fff !important;
}

@media (max-width: 991px) {
    .cart-drawer {
        width: 100% !important;
        right: -100% !important;
        padding: 2rem !important;
    }
}


/* Infinite Scroll Styles */
.lazy-sentinel, .lazy-sentinel-horizontal {
    padding: 2rem;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lazy-sentinel { width: 100%; grid-column: 1 / -1; }
.lazy-sentinel-horizontal { min-width: 150px; height: 100%; }

.lazy-sentinel.is-loading::after, .lazy-sentinel-horizontal.is-loading::after {
    content: ";
 display: inline-block;
 width: 25px;
 height: 25px;
 border: 3px solid rgba(255,255,255,0.1);
 border-top-color: #3b82f6;
 border-radius: 50%;
 animation: spin 0.8s linear infinite;
}

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

.skeleton-pulse {
 background: linear-gradient(-90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
 background-size: 400% 400%;
 animation: skeleton-pulse 1.5s ease-in-out infinite;
}

@keyframes skeleton-pulse {
 0% { background-position: 0% 0%; }
 100% { background-position: -135% 0%; }
}
