* {
    -webkit-font-smoothing: antialiased;
}
body {
    font-family: "Jost", sans-serif;
    background-color: #fefcf8;
    color: #2a2a2a;
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
.font-serif {
    font-family: "Cormorant Garamond", Georgia, serif;
}
.rose-gradient-text {
    background: linear-gradient(135deg, #b76e79 0%, #e8b4bc 50%, #b76e79 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gold-gradient-text {
    background: linear-gradient(135deg, #a8873e 0%, #e0c88a 50%, #a8873e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(183, 110, 121, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(183, 110, 121, 0.5);
    }
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}
@keyframes toast-slide {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes toast-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-120%);
        opacity: 0;
    }
}
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}
@keyframes monogramPulse {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes shimmerLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
@keyframes floatSlow {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}
@keyframes dealPulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}
.animate-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-float {
    animation: floatSlow 6s ease-in-out infinite;
}
.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}
.deal-pulse {
    animation: dealPulse 2s ease-in-out infinite;
}

.luxury-shadow {
    box-shadow: 0 25px 50px -20px rgba(45, 27, 46, 0.15);
}
.luxury-card {
    background: linear-gradient(145deg, #ffffff, #fefcf8);
    border: 1px solid rgba(183, 110, 121, 0.15);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-card:hover {
    border-color: rgba(183, 110, 121, 0.4);
    box-shadow: 0 30px 60px -25px rgba(45, 27, 46, 0.25);
    transform: translateY(-6px);
}
.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B76E79' fill-opacity='0.04'%3E%3Cpath d='M40 0v40H0V0h40zm0 40v40H0V40h40zM80 0v40H40V0h40zm0 40v40H40V40h40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #b76e79, #c6a664, #b76e79);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(183, 110, 121, 0.5);
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f8f2ea;
}
::-webkit-scrollbar-thumb {
    background: #b76e79;
}
::-webkit-scrollbar-thumb:hover {
    background: #8e4f58;
}

.loading-screen {
    position: fixed;
    inset: 0;
    background: #1a0f1b;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
    transition:
        opacity 1s ease,
        visibility 1s ease;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-monogram {
    animation: monogramPulse 2s ease-in-out infinite;
}
.loading-line {
    width: 220px;
    height: 1px;
    background: rgba(198, 166, 100, 0.15);
    position: relative;
    overflow: hidden;
}
.loading-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, #c6a664, transparent);
    animation: shimmerLine 2s ease-in-out infinite;
}
.custom-cursor {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #b76e79;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease;
}
.custom-cursor-ring {
    position: fixed;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(183, 110, 121, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s,
        background 0.3s;
}
.custom-cursor-ring.hover {
    transform: scale(1.7);
    background: rgba(183, 110, 121, 0.1);
    border-color: rgba(183, 110, 121, 0.8);
}
@media (max-width: 1024px) {
    .custom-cursor,
    .custom-cursor-ring {
        display: none !important;
    }
}
.marquee-strip {
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(90deg, #1a0f1b, #2d1b2e, #1a0f1b);
}
.marquee-content {
    display: inline-flex;
    animation: marquee 45s linear infinite;
}

.hero-slider {
    position: relative;
    height: 92vh;
    min-height: 700px;
    overflow: hidden;
    background: #1a0f1b;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.slide-bg {
    position: absolute;
    inset: 0;
}
.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide.active .slide-bg img {
    animation: kenBurns 12s ease-out forwards;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(26, 15, 27, 0.96) 0%,
        rgba(26, 15, 27, 0.8) 35%,
        rgba(26, 15, 27, 0.4) 70%,
        rgba(26, 15, 27, 0.2) 100%
    );
}
.slide-overlay.right {
    background: linear-gradient(
        -105deg,
        rgba(26, 15, 27, 0.96) 0%,
        rgba(26, 15, 27, 0.8) 35%,
        rgba(26, 15, 27, 0.4) 70%,
        rgba(26, 15, 27, 0.2) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
}
.hero-content.right {
    justify-content: flex-end;
}
.hero-text {
    max-width: 640px;
}
.hero-content.right .hero-text {
    text-align: right;
}
.slide.active .hero-text > * {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide.active .hero-text > *:nth-child(1) {
    animation-delay: 0.3s;
}
.slide.active .hero-text > *:nth-child(2) {
    animation-delay: 0.5s;
}
.slide.active .hero-text > *:nth-child(3) {
    animation-delay: 0.7s;
}
.slide.active .hero-text > *:nth-child(4) {
    animation-delay: 0.9s;
}
.slide.active .hero-text > *:nth-child(5) {
    animation-delay: 1.1s;
}
@media (max-width: 768px) {
    .hero-slider {
        height: 88vh;
        min-height: 620px;
    }
    .hero-content {
        padding: 0 24px;
    }
    .hero-content.right {
        justify-content: flex-start;
    }
    .hero-content.right .hero-text {
        text-align: left;
    }
}

.product-image-swap {
    position: relative;
}
.product-image-swap .secondary-img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.product-card:hover .product-image-swap .secondary-img {
    opacity: 1;
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.25s;
    border-bottom: 1px solid rgba(183, 110, 121, 0.08);
}
.filter-option:hover {
    background: #f5eff5;
    padding-left: 20px;
}
.filter-option.active {
    background: #2d1b2e;
    color: #c6a664;
    padding-left: 20px;
}
.filter-option.active .filter-count {
    background: rgba(198, 166, 100, 0.2);
    color: #c6a664;
}
.filter-count {
    font-size: 10px;
    padding: 2px 8px;
    background: #f5eff5;
    color: #8e4f58;
    font-weight: 600;
    transition: all 0.2s;
}
.heritage-panel {
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.trilogy-img {
    transition:
        transform 2.2s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.2s ease;
    filter: grayscale(25%) brightness(0.8);
}
.heritage-panel:hover .trilogy-img {
    transform: scale(1.08);
    filter: grayscale(0%) brightness(1);
}
.writing-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.heritage-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c6a664, transparent);
    transition: left 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 20;
}
.heritage-panel:hover::after {
    left: 100%;
}
.heritage-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 45px 90px -30px rgba(45, 27, 46, 0.6);
}

.editorial-img {
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.editorial-piece:hover .editorial-img {
    transform: scale(1.06);
}
.reveal-mask {
    position: relative;
    overflow: hidden;
}
.reveal-mask::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fefcf8;
    transform-origin: bottom;
    transform: scaleY(1);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}
.reveal-mask.revealed::before {
    transform: scaleY(0);
}
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.btn-luxe {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-luxe::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.7s ease;
}
.btn-luxe:hover::before {
    left: 100%;
}
.deal-card {
    position: relative;
    overflow: hidden;
}
.deal-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(183, 110, 121, 0.08) 0%,
        transparent 50%,
        rgba(198, 166, 100, 0.08) 100%
    );
    pointer-events: none;
}
.payment-badge {
    background: white;
    border: 1px solid rgba(183, 110, 121, 0.15);
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #2d1b2e;
    transition: all 0.3s;
}
.payment-badge:hover {
    border-color: #b76e79;
    transform: translateY(-2px);
}
.quick-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border: 1px solid rgba(183, 110, 121, 0.3);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}
.quick-chip:hover {
    background: #2d1b2e;
    color: #c6a664;
    border-color: #2d1b2e;
    transform: translateY(-2px);
}
.social-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    background: #fefcf8;
    border: 1px solid rgba(183, 110, 121, 0.3);
    padding: 14px 18px;
    box-shadow: 0 20px 40px -15px rgba(45, 27, 46, 0.25);
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 340px;
    animation: toast-slide 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.social-toast.out {
    animation: toast-slide-out 0.4s ease forwards;
}
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 9999;
    pointer-events: none;
    animation: confetti-fall 3s linear forwards;
}
.countdown-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(254, 252, 248, 0.04);
    border: 1px solid rgba(198, 166, 100, 0.25);
    padding: 12px 16px;
    min-width: 62px;
}
.countdown-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-weight: 400;
    color: #c6a664;
    line-height: 1;
}
.countdown-label {
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(254, 252, 248, 0.5);
    margin-top: 6px;
}
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(254, 252, 248, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(183, 110, 121, 0.2);
    z-index: 45;
    display: none;
    padding: 8px 0 10px;
}
@media (max-width: 1024px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
    }
    body {
        padding-bottom: 70px;
    }
}
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #2d1b2e;
    color: #c6a664;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(45, 27, 46, 0.3);
    cursor: pointer;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: #b76e79;
    color: #fff;
    transform: translateY(-4px);
}
.filter-chip {
    padding: 8px 16px;
    background: #fefcf8;
    border: 1px solid rgba(183, 110, 121, 0.3);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.filter-chip:hover {
    border-color: #b76e79;
    color: #b76e79;
}
.filter-chip.active {
    background: #2d1b2e;
    color: #c6a664;
    border-color: #2d1b2e;
}
.editorial-quote {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.45;
}
.offer-ticker {
    background: linear-gradient(90deg, #8e4f58, #b76e79, #8e4f58);
}
.h-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.h-scroll::-webkit-scrollbar {
    height: 4px;
}
.h-scroll::-webkit-scrollbar-track {
    background: #f5eff5;
}
.h-scroll::-webkit-scrollbar-thumb {
    background: #b76e79;
}
.h-scroll > * {
    scroll-snap-align: start;
}

/* PRIYAM HERITAGE — Luxury Editorial Cards */
/* PRIYAM HERITAGE — Luxury Editorial Cards v2 */

.ph-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ph-border);
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(48, 23, 36, 0.035);
    transition:
        border-color 0.35s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.ph-card:hover {
    border-color: #c9ad7d;
    box-shadow: 0 14px 36px rgba(48, 23, 36, 0.12);
    transform: translateY(-4px);
}

/* IMAGE */

.ph-image {
    position: relative;
    height: 350px;
    overflow: hidden;
    background: var(--ph-ivory);
    isolation: isolate;
}

.ph-main-image,
.ph-secondary-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform 1s cubic-bezier(0.2, 0.65, 0.3, 1),
        opacity 0.55s ease;
}

.ph-main-image {
    z-index: 0;
    transform: scale(1);
}

.ph-secondary-image {
    z-index: 1;
    opacity: 0;
    transform: scale(1.04);
}

.ph-card:hover .ph-main-image {
    transform: scale(1.055);
}

.ph-card:hover .ph-secondary-image {
    opacity: 1;
    transform: scale(1);
}

/* IMAGE OVERLAY */

.ph-image::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 50% 0 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(39, 19, 32, 0.12) 38%,
        rgba(39, 19, 32, 0.67) 100%
    );
    opacity: 0.72;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ph-card:hover .ph-image::after {
    opacity: 1;
}

/* BRAND LABEL */

.ph-brand-label {
    position: absolute;
    z-index: 5;
    top: 13px;
    left: 13px;
    padding: 10px 12px 9px;
    min-width: 88px;
    border: 1px solid rgba(182, 154, 102, 0.65);
    background: rgba(255, 252, 247, 0.96);
    color: var(--ph-wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 12px rgba(48, 23, 36, 0.04);
}

.ph-brand-label span {
    display: block;
    margin-top: 4px;
    font-family: Arial, sans-serif;
    font-size: 7px;
    font-weight: 400;
    letter-spacing: 3px;
    text-align: center;
}

/* BADGES */

.ph-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.9px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(30, 15, 25, 0.08);
}

.ph-badge-sale {
    background: #8b304c;
    color: #fff;
}

.ph-badge-dark {
    background: var(--ph-wine-deep);
    color: #f3dfb9;
}

.ph-badge-new {
    background: #52694c;
    color: #fff;
}

.ph-badge-gold {
    background: #c3a46a;
    color: #35212a;
}

.ph-badge-handloom {
    background: #f7eddc;
    border-color: #dfcba6;
    color: #654a2e;
}

/* EDITORIAL IMAGE CAPTION */

.ph-image-caption {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 25px 12px 112px;
    color: #fff9f0;
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-align: center;
    pointer-events: none;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.ph-card:hover .ph-image-caption {
    opacity: 0.35;
}

/* ACTION PANEL */

.ph-actions {
    z-index: 4;
    padding: 13px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(41, 21, 34, 0.1) 10%,
        rgba(41, 21, 34, 0.8) 100%
    );
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* ALL ACTION BUTTONS */

.ph-whatsapp,
.ph-cart-button,
.ph-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 10px 8px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 1.3;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.ph-whatsapp i,
.ph-cart-button i,
.ph-buy-button i {
    font-size: 12px;
}

/* WHATSAPP */

.ph-whatsapp {
    background: #286b4a;
    border-color: #286b4a;
    color: #fff;
}

.ph-whatsapp:hover {
    background: #194d35;
    border-color: #194d35;
    transform: translateY(-1px);
}

/* ADD TO BAG */

.ph-cart-button {
    background: var(--ph-wine);
    border-color: var(--ph-wine);
    color: #f4e1ba;
}

.ph-cart-button:hover {
    background: var(--ph-wine-deep);
    border-color: var(--ph-gold);
    color: #fff;
}

/* BUY NOW */

.ph-buy-button {
    background: #f5e9d5;
    border-color: var(--ph-gold);
    color: var(--ph-wine);
}

.ph-buy-button:hover {
    background: #faf9f8;

    border-color: #faf9f8;
    color: var(--ph-wine);
}

.ph-cart-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* PRODUCT DETAILS */

.ph-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 15px 13px;
    background: #fff;
}

/* CATEGORY */

.ph-category {
    min-width: 0;
    overflow: hidden;
    color: #92736c;
    font-family: Arial, sans-serif;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.85px;
    line-height: 1.7;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

/* RATING */

.ph-rating {
    flex-shrink: 0;
    color: #ad8748;
    font-family: Arial, sans-serif;
    font-size: 10px;
    white-space: nowrap;
}

.ph-rating i {
    margin-right: 3px;
    font-size: 9px;
}

.ph-review-count {
    color: #a19896;
    font-size: 9px;
}

/* PRODUCT NAME */

.ph-product-name {
    display: -webkit-box;

    margin-top: 10px;
    overflow: hidden;
    color: var(--ph-wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.25s ease;
}

.ph-product-name:hover {
    color: #9b5067;
}

/* PRICE */

.ph-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 12px;
}

.ph-price {
    color: var(--ph-wine);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: -0.45px;
}

.ph-original-price {
    color: #a59a97;
    font-family: Arial, sans-serif;
    font-size: 12px;
    text-decoration: line-through;
}

.ph-savings {
    padding: 4px 6px;
    background: #f0f5ec;
    color: var(--ph-green);
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.25px;
}

/* AUTHENTICITY FOOTER */

.ph-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #eee7df;
}

.ph-footer-line {
    width: 23px;
    height: 1px;
    background: var(--ph-gold);
}

.ph-footer-label {
    color: #8c7048;
    font-family: Arial, sans-serif;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.ph-footer-label i {
    margin-right: 4px;
}

/* DESKTOP HOVER */

@media (min-width: 1024px) {
    .ph-actions {
        opacity: 0;
        transform: translateY(12px);
    }

    .ph-card:hover .ph-actions,
    .ph-card:focus-within .ph-actions {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media (min-width: 640px) and (max-width: 1023px) {
    .ph-image {
        height: 320px;
    }

    .ph-details {
        padding: 14px 12px 12px;
    }

    .ph-product-name {
        font-size: 15px;
    }

    .ph-price {
        font-size: 20px;
    }

    .ph-actions {
        padding: 9px;
    }

    .ph-whatsapp,
    .ph-cart-button,
    .ph-buy-button {
        font-size: 8px;
    }
}

/* MOBILE */

@media (max-width: 639px) {
    .ph-card {
        border-radius: 2px;
        transform: none;
    }

    .ph-card:hover {
        transform: none;
    }

    .ph-image {
        height: 350px;
    }

    .ph-brand-label {
        top: 8px;
        left: 8px;
        min-width: 68px;
        padding: 7px 7px;
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .ph-brand-label span {
        font-size: 6px;
        letter-spacing: 2px;
    }

    .ph-badge {
        padding: 6px 6px;
        font-size: 7px;
        letter-spacing: 0.3px;
    }

    .ph-image-caption {
        padding-bottom: 100px;
        font-size: 7px;
        letter-spacing: 1px;
    }

    .ph-actions {
        padding: 9px 7px;
        gap: 6px;
    }

    .ph-whatsapp,
    .ph-cart-button,
    .ph-buy-button {
        min-height: 36px;
        padding: 7px 3px;
        gap: 4px;
        font-size: 7px;
        letter-spacing: 0.1px;
    }

    .ph-whatsapp i,
    .ph-cart-button i,
    .ph-buy-button i {
        font-size: 10px;
    }

    .ph-details {
        padding: 12px 9px 10px;
    }

    .ph-category {
        font-size: 7px;
        letter-spacing: 0.25px;
    }

    .ph-rating {
        font-size: 9px;
    }

    .ph-review-count {
        font-size: 8px;
    }

    .ph-product-name {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.4;
    }

    .ph-price-row {
        gap: 4px 5px;
        margin-top: 9px;
    }

    .ph-price {
        font-size: 19px;
    }

    .ph-original-price {
        font-size: 10px;
    }

    .ph-savings {
        padding: 4px;
        font-size: 7px;
    }

    .ph-footer {
        gap: 6px;
        padding-top: 10px;
    }

    .ph-footer-line {
        width: 14px;
    }

    .ph-footer-label {
        font-size: 7px;
        letter-spacing: 0.8px;
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .ph-card,
    .ph-main-image,
    .ph-secondary-image,
    .ph-actions,
    .ph-whatsapp,
    .ph-cart-button,
    .ph-buy-button {
        transition: none !important;
    }
}

/* =========================================
   PRIYAM HERITAGE — LUXURY PRODUCT PAGE
========================================= */

:root {
    --ph-maroon: #581b32;
    --ph-maroon-dark: #39101f;
    --ph-rose: #a53d5b;
    --ph-gold: #bd9956;
    --ph-gold-light: #e5d1a3;
    --ph-ivory: #fbf8f1;
    --ph-text: #30232a;
    --ph-muted: #8a7c80;
}

.ph-product-page {
    background: linear-gradient(180deg, #fffdf9 0%, #fbf8f1 100%);
    color: var(--ph-text);
}

.ph-gallery {
    position: relative;
}

.ph-main-frame {
    position: relative;
    height: 650px;
    overflow: hidden;
    background: #f5eee5;
    border: 1px solid rgba(189, 153, 86, 0.38);
    box-shadow: 0 18px 50px rgba(57, 16, 31, 0.08);
}

.ph-main-frame::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
    z-index: 1;
}

.ph-main-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ph-main-frame:hover > img {
    transform: scale(1.035);
}

.ph-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.ph-badge-gold {
    background: var(--ph-gold);
    color: #fff;
}

.ph-badge-maroon {
    background: var(--ph-maroon);
    color: white;
}

.ph-badge-light {
    background: rgba(255, 253, 249, 0.96);
    color: var(--ph-maroon);
    border: 1px solid var(--ph-gold-light);
}

.ph-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 5px 2px 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--ph-gold-light) transparent;
}

.ph-thumb {
    flex: 0 0 82px;
    height: 102px;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e9dfd6;
    background: white;
    cursor: pointer;
    transition:
        border-color 0.25s,
        transform 0.25s;
}

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

.ph-thumb.active {
    border: 2px solid var(--ph-maroon);
    padding: 2px;
}

.ph-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ph-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ph-trust-item {
    padding: 17px 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #eee4d8;
}

.ph-trust-item i {
    display: block;
    color: var(--ph-gold);
    font-size: 19px;
    margin-bottom: 9px;
}

.ph-trust-item span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: var(--ph-maroon);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    line-height: 1.6;
}

.ph-product-info {
    padding: 8px 0 0;
}

.ph-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ph-rose);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.23em;
    text-transform: uppercase;
}

.ph-eyebrow::before {
    content: "";
    width: 25px;
    height: 1px;
    background: var(--ph-gold);
}

.ph-product-title {
    color: var(--ph-maroon-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 43px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.035em;
    margin-top: 16px;
}

.ph-sku {
    color: var(--ph-muted);
    font-size: 10px;
    letter-spacing: 0.13em;
}

.ph-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #b38a42;
    font-size: 12px;
}

.ph-rating-label {
    margin-left: 8px;
    color: var(--ph-muted);
    font-size: 11px;
}

.ph-price-panel {
    padding: 20px 0;
    margin-top: 12px;
    border-top: 1px solid #eee4d8;
    border-bottom: 1px solid #eee4d8;
}

.ph-price {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 500;
    color: var(--ph-maroon);
    letter-spacing: -0.035em;
}

.ph-original-price {
    color: #a79a9d;
    text-decoration: line-through;
    font-size: 16px;
}

.ph-saving {
    color: #397553;
    background: #edf5ed;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ph-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 16px;
    background: linear-gradient(110deg, #581b32, #71314a);
    color: white;
    border-left: 3px solid var(--ph-gold);
}

.ph-promo strong {
    display: block;
    font-size: 11px;
    letter-spacing: 0.12em;
}

.ph-promo small {
    display: block;
    margin-top: 5px;
    color: #f0dfe4;
    font-size: 10px;
}

.ph-copy-code {
    flex-shrink: 0;
    padding: 9px 11px;
    color: var(--ph-maroon);
    background: #f0dfb6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.ph-stock {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #397553;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ph-stock-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #4d9968;
    box-shadow: 0 0 0 4px #e8f3e9;
}

.ph-description {
    padding: 22px 0;
    color: #6f6267;
    font-size: 13px;
    line-height: 1.95;
    border-bottom: 1px solid #eee4d8;
}

.ph-specs {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid #eee4d8;
}

.ph-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0eae3;
    font-size: 11px;
}

.ph-spec-row:last-child {
    border-bottom: 0;
}

.ph-spec-label {
    color: var(--ph-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.ph-spec-value {
    color: var(--ph-maroon);
    font-weight: 600;
    text-align: right;
}

.ph-quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dfd0c8;
    background: white;
}

.ph-quantity button {
    width: 42px;
    height: 43px;
    color: var(--ph-maroon);
    font-size: 19px;
    transition:
        background 0.2s,
        color 0.2s;
}

.ph-quantity button:hover {
    background: var(--ph-maroon);
    color: white;
}

.ph-quantity-value {
    min-width: 42px;
    text-align: center;
    color: var(--ph-maroon);
    font-size: 13px;
    font-weight: 700;
}

.ph-btn {
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 15px 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background 0.25s,
        color 0.25s,
        transform 0.25s;
}

.ph-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.ph-btn-primary {
    width: 100%;
    color: white;
    background: var(--ph-maroon);
    border: 1px solid var(--ph-maroon);
    box-shadow: 0 8px 22px rgba(88, 27, 50, 0.16);
}

.ph-btn-primary:hover:not(:disabled) {
    background: var(--ph-maroon-dark);
}

.ph-btn-secondary {
    color: var(--ph-maroon);
    background: transparent;
    border: 1px solid var(--ph-maroon);
}

.ph-btn-secondary:hover:not(:disabled) {
    color: white;
    background: var(--ph-maroon);
}

.ph-btn-whatsapp {
    color: white;
    background: #23794a;
    border: 1px solid #23794a;
}

.ph-btn-whatsapp:hover {
    background: #195e38;
}

.ph-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.ph-delivery-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    color: #76676d;
    background: #f7f0e9;
    font-size: 11px;
    line-height: 1.7;
}

.ph-delivery-note i {
    color: var(--ph-gold);
    font-size: 17px;
}

@media (max-width: 1023px) {
    .ph-main-frame {
        height: min(115vw, 620px);
        min-height: 380px;
    }

    .ph-product-title {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .ph-main-frame {
        min-height: 350px;
        height: 115vw;
    }

    .ph-product-title {
        font-size: 30px;
    }

    .ph-price {
        font-size: 30px;
    }

    .ph-trust-item {
        padding: 13px 4px;
    }

    .ph-trust-item span {
        font-size: 8px;
        letter-spacing: 0.04em;
    }

    .ph-btn {
        min-height: 52px;
        padding: 12px 8px;
        font-size: 9px;
        letter-spacing: 0.09em;
    }
}
