/* =========================================
   1. VARIABLES
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
    --bg-main: #F6F5F2;
    --bg-alt: #ECE9E4;
    --surface: #FFFFFF;
    --terracotta: #9E4B26;
    --text-dark: #2F2F2F;
    --text-muted: #6E6A64;
    --border: #E5E2DD;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* =========================================
   2. RESET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

/* =========================================
   3. BASE TYPOGRAPHY
   ========================================= */

h1, h2, h3, h4, .editorial-font {
    font-family: 'Cormorant Garamond', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* =========================================
   4. LAYOUT
   ========================================= */

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-spacing {
    padding: 120px 0;
}

.global-header {
    height: 80px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-left ul {
    justify-self: left;
    display: flex;
    gap: 24px;
}

.header-left a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-center .brand-logo {
    font-size: 30px;
    letter-spacing: 6px;
    font-weight: 600;
    justify-self: center;
}

.brand-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.header-right {
    justify-self: right;
}

.header-right .cart-trigger {
    position: relative;
}

.global-footer {
    background: #984522;
    padding: 80px 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    color: white;
    gap: 40px;
    align-items: start;
}

.footer-col h4 {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: white;
}

.footer-col li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: white;
}

.footer-col li svg {
    width: 16px;
    flex-shrink: 0;
    margin-top: 4px;
}

/* =========================================
   5. COMPONENTS
   ========================================= */

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--terracotta);
    color: var(--surface);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 999px;
}

.btn:hover {
    background: #7a3a1d;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--surface);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--terracotta);
    color: white;
    font-size: 13px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-container {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 9999;
}

.toast {
    min-width: 300px;
    padding: 20px;
    background: var(--surface);
    border-left: 4px solid var(--terracotta);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    font-size: 16px;
}

.toast.error {
    border-color: #d9534f;
}

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.float-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.whatsapp img,
.float-btn.email img {
    filter: brightness(0) invert(1);
}

.float-btn.email {
    background: #798A91;
}

/* =========================================
   6. PAGE-SPECIFIC STYLES
   ========================================= */

/* Hero */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65));
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-heading {
    font-size: 75px;
    line-height: 1.05;
    color: white;
    margin-bottom: 30px;
}

.hero-inner p {
    font-size: 20px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
}

.hero .btn {
    background: var(--terracotta);
}

/* About + Discovery */
.about-discovery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.about-title {
    font-size: 50px;
    margin-bottom: 25px;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 60px;
    line-height: 1.9;
    max-width: 720px;
    font-size: 16px;
}

.about-text p {
    margin-bottom: 18px;
}

.why-title {
    font-size: 28px;
    margin-bottom: 30px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-item {
    padding: 40px;
    background: var(--surface);
    border-radius: 28px;
    border: 1px solid var(--border);
    transition: 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.06);
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    margin-bottom: 18px;
}

/* Category Cluster Grid */
.cluster-wrapper{
display:flex;
flex-direction:column;
height:100%;
}

.cluster-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:24px;
flex-grow:1;
}

.cluster-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: .35s ease;
    aspect-ratio: 2/3;
}

.cluster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cluster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.cluster-overlay span {
    font-size: 20px;
    font-weight: 600;
}

.cluster-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

.cluster-card:hover img {
    transform: scale(1.08);
}

/* Discovery CTA */
.discovery-cta {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.discovery-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.discovery-cta-inner h2 {
    font-size: 45px;
    margin-bottom: 12px;
}

/* New Products */
.new-products-block {
    margin-top: 60px;
}

.new-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.new-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.new-product-card {
    transition: 0.4s ease;
}

.new-product-card:hover {
    transform: translateY(-8px);
}

.new-product-thumb {
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 15px;
}

.new-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-product-card:hover img {
    transform: scale(1.06);
}

.new-product-info {
    margin-top: 14px;
}

.new-product-info h4 {
    font-size: 18px;
    line-height: 1.4;
}

/* Services */
.services h2 {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.service-bg {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.service-overlay h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.service-cta {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 12px;
    display: inline-block;
    color: var(--terracotta);
}

.service-view-all {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
}

.services-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.service-minimal-card {
    padding: 40px 30px;
    border: 1px solid var(--border);
    transition: 0.3s ease;
    background: var(--surface);
}

.service-minimal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.service-minimal-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-minimal-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-minimal-card a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.services-editorial {
    background: var(--surface);
}

.section-title {
    text-align: center;
    font-size: 44px;
    margin-bottom: 80px;
}

.services-editorial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.service-editorial-card {
    padding: 40px 30px;
    border-radius: 28px;
    background: var(--bg-alt);
    transition: all 0.4s ease;
    text-align: left;
}

.service-editorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    margin-bottom: 25px;
}

.service-editorial-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
}

.service-editorial-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-editorial-card a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.services-view-all {
    text-align: center;
    margin-top: 80px;
}

/* Service Detail & Listing */
.services-hero {
    text-align: center;
}

.services-hero-title {
    font-size: 56px;
    margin-bottom: 25px;
}

.services-hero-sub {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-list-card {
    display: block;
    padding: 40px 30px;
    background: var(--surface);
    border-radius: 28px;
    border: 1px solid var(--border);
    transition: all 0.35s ease;
}

.service-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
}

.service-list-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-list-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-hero {
    padding: 180px 0 120px;
    text-align: center;
    background: var(--bg-alt);
}

.service-title {
    font-size: 64px;
    max-width: 900px;
    margin: auto;
    margin-bottom: 20px;
}

.service-intro {
    max-width: 720px;
    margin: auto;
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.service-description-container {
    max-width: 950px;
    margin: 0 auto;
}

.service-description {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-dark);
    max-width: 820px;
    margin: auto;
}

.service-description p {
    margin-bottom: 20px;
}

.service-description ul {
    margin: 20px 0;
    padding-left: 20px;
}

.service-description li {
    margin-bottom: 8px;
}

/* Catalog Sidebar */
.catalog-layout {
    display: flex;
    gap: 60px;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-nav li {
    margin-bottom: 18px;
}

.sidebar-nav a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-left: 2px solid transparent;
    transition: 0.3s ease;
}

.sidebar-nav a:hover {
    color: var(--terracotta);
}

.sidebar-nav a.active {
    border-color: var(--terracotta);
    padding-left: 12px;
    font-weight: 500;
    color: var(--terracotta);
}

.category-title {
    font-size: 42px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
}

#pagination .active {
    background: var(--terracotta);
    color: white;
    border-color: var(--terracotta);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 40px;
    flex-grow: 1;
}

.product-card {
    display: flex;
    flex-direction: column;
    transition: 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-thumb {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: var(--bg-alt);
    position: relative;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding-top: 14px;
}

.product-info p {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 20px;
    line-height: 1.4;
}

.product-price {
    font-weight: 500;
}

.out-of-stock {
    opacity: 0.6;
}

.stock-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--text-dark);
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    text-transform: uppercase;
}

.product-title-main {
    font-size: 48px;
    margin-bottom: 18px;
    line-height: 1.2;
}

.product-short-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 520px;
}

.product-category {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 6px;
}

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-image {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--bg-alt);
    border-radius: 20px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumbnail-row::-webkit-scrollbar {
    height: 4px;
}

.thumb-item {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.thumb-item:hover {
    transform: scale(1.05);
}

.product-description {
    max-width: 640px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-muted);
}

.product-description p {
    margin-bottom: 18px;
}

.product-details-section {
    margin-top: 120px;
    max-width: 820px;
}

.product-details-section p {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-muted);
}

.recommended-section {
    margin-top: 140px;
}

.badge-stock {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--terracotta);
    color: var(--terracotta);
    font-size: 12px;
    margin-bottom: 20px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    width: fit-content;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.qty-selector button {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.qty-selector span {
    padding: 0 20px;
}

.product-details-title {
    font-size: 32px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 15px;
}

.product-long-description {
    max-width: 760px;
    line-height: 1.9;
    font-size: 17px;
    color: var(--text-muted);
}

.product-long-description p {
    margin-bottom: 18px;
}

.product-tabs-section {
    margin-top: 120px;
}

.tabs-header {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    padding-bottom: 10px;
    cursor: pointer;
    color: var(--text-muted);
}

.tab-btn.active {
    color: var(--text-dark);
    border-bottom: 2px solid var(--terracotta);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 600px;
}

.spec-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.spec-table td:first-child {
    color: var(--text-muted);
    width: 200px;
}

/* Enquiry */
.enquiry-section {
    background: var(--surface);
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: auto;
    gap: 40px;
}

.enquiry-section h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.enquiry-form input,
.enquiry-form textarea {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 14px;
    transition: 0.3s ease;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.contact-box {
    padding: 50px;
    border-radius: 28px;
    background: var(--bg-alt);
    box-shadow: 0 20px 60px rgba(0,0,0,0.04);
}

/* Testimonials */
.testimonial-slider {
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.testimonial-track {
    display: flex;
    gap: 60px;
    transition: transform 0.9s cubic-bezier(.65,.05,.36,1);
}

.testimonial-card-horizontal {
    min-width: 480px;
    background: var(--surface);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.06);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

.avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--terracotta);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    flex-shrink: 0;
}

.testimonial-content h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.designation {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    line-height: 1.7;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.service-faq-section .faq-item {
    padding: 26px 0;
    border-bottom: 1px solid var(--border);
}

.faq-question {
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

.service-faq-section .faq-question {
    font-size: 18px;
    font-weight: 500;
}

.faq-question::after {
    content: "+";
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

/* Mobile Nav Panel */
.mobile-menu-toggle {
    display: none;
    width: 26px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 5000;
    transition: 0.3s ease;
}

.mobile-menu-toggle span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    left: 0;
    transition: 0.4s cubic-bezier(.7,0,.3,1);
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { bottom: 0; }

.mobile-menu-toggle.active {
    position: fixed;
    top: 28px;
    left: 40px;
}

.mobile-menu-toggle.active span {
    background: white;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(.7,0,.3,1);
    z-index: 4000;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 50px;
    text-align: center;
}

.mobile-nav a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    letter-spacing: 3px;
    color: black;
    transition: 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--terracotta);
    transform: translateX(8px);
}

.mobile-close {
    position: absolute;
    top: 28px;
    right: 40px;
    font-size: 34px;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    transition: 0.3s ease;
}

.mobile-close:hover {
    transform: rotate(90deg);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 80px 0;
    grid-column: 1 / -1;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Cart Page */
.cart-container {
    max-width: 900px;
    margin: 0 auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.checkout-form {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-alt);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
}

/* Portal Overlay */
.portal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    overflow: hidden;
}

.portal-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #F6F5F2;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1);
}

.portal-panel.left { left: 0; }
.portal-panel.right { right: 0; }

.portal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10001;
    transition: opacity 0.5s ease;
}

.portal-logo {
    width: 160px;
    height: auto;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInLogo 0.8s forwards 0.3s;
}

.portal-line {
    width: 0;
    height: 1px;
    background: #9E4B26;
    margin: 10px auto;
    animation: growLine 1s forwards 0.6s;
}

@keyframes fadeInLogo { to { opacity: 1; transform: translateY(0); } }
@keyframes growLine { to { width: 80px; } }

.portal-reveal .portal-panel.left { transform: translateX(-100%); }
.portal-reveal .portal-panel.right { transform: translateX(100%); }
.portal-reveal .portal-content { opacity: 0; pointer-events: none; }

.fade-up-content { opacity: 0; transform: translateY(20px); transition: all 1s ease 1s; }
.fade-up-ready { opacity: 1; transform: translateY(0); }

/* Benefits & Process */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.process-step span {
    font-size: 40px;
    color: var(--terracotta);
    display: block;
    margin-bottom: 12px;
}

/* Blog */
.blog-title {
    font-size: 60px;
    text-align: center;
    margin-bottom: 20px;
}

.blog-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 70px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.blog-card {
    display: block;
    transition: .4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-thumb {
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-info {
    margin-top: 16px;
}

.blog-date {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.blog-post-title {
    font-size: 56px;
    max-width: 800px;
}

.blog-meta {
    color: var(--text-muted);
    margin-top: 10px;
}

.blog-cover {
    margin-top: 50px;
    border-radius: 16px;
    width: 100%;
}

.blog-content {
    max-width: 750px;
    margin-top: 50px;
    font-size: 18px;
    line-height: 1.9;
}

#newProducts{
min-height:300px;
}

.new-product-card{
display:block;
}

.new-product-thumb{
aspect-ratio:4/5;
background:#ECE9E4;
overflow:hidden;
border-radius:20px;
}

/* =========================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 1100px) {
    .container {
        padding: 0 24px;
    }

    .services-grid,
    .services-editorial-grid,
    .services-list-grid,
    .new-products-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-discovery-grid,
    .product-detail-grid,
    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .service-title {
        font-size: 42px;
    }

    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .services-editorial-grid,
    .services-list-grid,
    .new-products-grid,
    .product-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .cluster-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .new-products-grid {
        gap: 28px;
    }

    .hero-heading { font-size: 42px; }
    .about-title { font-size: 34px; }
    .service-title { font-size: 36px; }
    .services-hero-title { font-size: 38px; }

    .section-spacing {
        padding: 80px 0;
    }

    .catalog-layout {
        flex-direction: column;
    }

    .catalog-sidebar {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .floating-actions {
        right: 16px;
        bottom: 16px;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-title-main {
        font-size: 28px;
        line-height: 1.2;
    }

    .product-short-desc {
        font-size: 14px;
    }

    .qty-selector {
        margin-top: 10px;
    }

    #addToInquiryBtn {
        margin-top: 18px;
    }

    .recommended-section {
        margin-top: 60px;
    }

    .main-image{
        aspect-ratio: 1/1;
    }
}

@media(max-width:480px){
    .new-products-grid{
        grid-template-columns: 1fr;
    }
}

.service-description {
  max-width: 720px;           /* 👈 key: readable width */
  margin: 0 auto;             /* center */
  font-size: 16px;
  line-height: 1.8;           /* 👈 breathing */
  color: #3d3d3d;
  font-family: 'Inter', sans-serif;
}

/* Paragraph spacing */
.service-description p {
  margin-bottom: 18px;
}

/* Headings */
.service-description h2,
.service-description h3 {
  font-family: 'Cormorant Garamond', serif;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

/* Lists */
.service-description ul {
  margin: 16px 0 20px 20px;
}

.service-description li {
  margin-bottom: 8px;
}

/* Bold text */
.service-description strong {
  color: #000;
}

/* Section spacing */
.service-description-container {
  padding: 80px 20px;
}

.block {
  display: flex;
  gap: 40px;
  margin: 60px 0;
  align-items: center;
}

.block img {
  width: 50%;
  border-radius: 16px;
}

.block div {
  width: 50%;
}

.image-right {
  flex-direction: row-reverse;
}

.text-block {
  max-width: 700px;
  margin: auto;
}