:root {
    --bg-primary: #FBF8F3;
    --bg-secondary: #F3EDE2;
    --bg-card: #FFFFFF;
    --text-dark: #1E1B18;
    --text-muted: #6E655C;
    --gold-primary: #C5A059;
    --gold-hover: #A8843F;
    --wood-accent: #8C6D46;
    --border-soft: #E6DEC8;
    --sale-red: #B84A39;
    --success-green: #2E6F40;
    --shadow-sm: 0 4px 16px rgba(30, 27, 24, 0.05);
    --shadow-md: 0 10px 30px rgba(30, 27, 24, 0.09);
    --shadow-lg: 0 20px 50px rgba(30, 27, 24, 0.15);
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Readex Pro', 'Tajawal', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-dark);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Announcement Bar */
.top-bar {
    background: linear-gradient(90deg, #1E1B18 0%, #352E27 50%, #1E1B18 100%);
    color: #F3EDE2;
    font-size: 0.88rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.35);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-badge {
    background: var(--gold-primary);
    color: #1E1B18;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.78rem;
    margin-left: 8px;
}

.top-bar-links a {
    color: var(--gold-primary);
    font-weight: 600;
    margin-right: 16px;
}

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

/* Header & Navigation */
.site-header {
    background: rgba(251, 248, 243, 0.94);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 900;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-emblem {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-primary), var(--wood-accent));
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Amiri', serif;
    font-size: 1.7rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

.brand-text h1 {
    font-family: 'Amiri', serif;
    font-size: 1.65rem;
    color: var(--text-dark);
    line-height: 1.1;
}

.brand-text span {
    font-size: 0.78rem;
    color: var(--wood-accent);
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-weight: 500;
    font-size: 0.96rem;
    color: var(--text-dark);
    position: relative;
    padding: 4px 0;
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-store-direct {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--wood-accent) 100%);
    color: #FFFFFF;
    padding: 11px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(197, 160, 89, 0.32);
    border: none;
    cursor: pointer;
}

.btn-store-direct:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(197, 160, 89, 0.45);
    background: linear-gradient(135deg, var(--gold-hover) 0%, #735736 100%);
}

/* Hero Section */
.hero-section {
    padding: 60px 0 50px;
    background: radial-gradient(circle at top left, #F3EDE2 0%, #FBF8F3 70%);
    border-bottom: 1px solid var(--border-soft);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(197, 160, 89, 0.16);
    color: var(--wood-accent);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-title {
    font-family: 'Amiri', serif;
    font-size: 3.1rem;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.hero-title span {
    color: var(--wood-accent);
    border-bottom: 3px solid rgba(197, 160, 89, 0.45);
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 620px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--wood-accent);
    padding: 11px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--wood-accent);
    color: #FFF;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 24px;
    border-top: 1px solid var(--border-soft);
}

.stat-item strong {
    display: block;
    font-size: 1.55rem;
    color: var(--wood-accent);
    font-family: 'Amiri', serif;
}

.stat-item span {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
}

.hero-main-card {
    background: #FFF;
    padding: 14px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-soft);
}

.hero-main-card img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.hero-floating-badge {
    position: absolute;
    bottom: -18px;
    right: 24px;
    background: #1E1B18;
    color: #FBF8F3;
    padding: 14px 22px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-floating-badge strong {
    color: var(--gold-primary);
    display: block;
    font-size: 0.95rem;
}

.hero-floating-badge span {
    font-size: 0.8rem;
    color: #D6CFC7;
}

/* Room & Category Showcase Strip */
.rooms-section {
    padding: 48px 0 24px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title-group h2 {
    font-family: 'Amiri', serif;
    font-size: 2.1rem;
    color: var(--text-dark);
}

.section-title-group p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Controls & Search Bar */
.catalog-controls {
    background: #FFFFFF;
    padding: 22px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
    margin-bottom: 24px;
}

.search-filter-row {
    display: grid;
    grid-template-columns: 1fr 220px 210px;
    gap: 14px;
    margin-bottom: 18px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 13px 18px 13px 42px;
    border: 1.5px solid var(--border-soft);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-primary);
    color: var(--text-dark);
    transition: border-color 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: #FFF;
}

.select-box select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-soft);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    background: var(--bg-primary);
    color: var(--text-dark);
    cursor: pointer;
}

.category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.cat-tab {
    background: var(--bg-primary);
    border: 1px solid var(--border-soft);
    color: var(--text-dark);
    padding: 9px 18px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cat-tab .count-pill {
    background: rgba(140, 109, 70, 0.14);
    color: var(--wood-accent);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.76rem;
}

.cat-tab:hover {
    border-color: var(--gold-primary);
}

.cat-tab.active {
    background: var(--text-dark);
    color: #FFFFFF;
    border-color: var(--text-dark);
}

.cat-tab.active .count-pill {
    background: var(--gold-primary);
    color: #1E1B18;
}

/* Subcategory Pills */
.subcat-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-soft);
}

.subcat-pill {
    background: #F6F1E7;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.81rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.subcat-pill:hover,
.subcat-pill.active {
    background: rgba(197, 160, 89, 0.22);
    color: var(--text-dark);
    border-color: var(--gold-primary);
    font-weight: 600;
}

/* Results Info Bar */
.results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(197, 160, 89, 0.65);
}

.card-img-wrap {
    position: relative;
    height: 255px;
    background: #F8F5F0;
    overflow: hidden;
    cursor: pointer;
}

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

.product-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.badge-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--sale-red);
    color: #FFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(184, 74, 57, 0.3);
}

.badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1E1B18;
    color: var(--gold-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 30px;
    z-index: 2;
}

.quick-view-btn {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    opacity: 0;
    background: rgba(30, 27, 24, 0.88);
    color: #FFF;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-cat {
    font-size: 0.76rem;
    color: var(--wood-accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}

.card-title:hover {
    color: var(--wood-accent);
}

.card-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding-top: 10px;
    border-top: 1px solid #F1ECE1;
}

.price-current {
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--text-dark);
}

.price-currency {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--wood-accent);
}

.price-old {
    font-size: 0.88rem;
    color: #9E9489;
    text-decoration: line-through;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.btn-buy-salla {
    background: var(--text-dark);
    color: #FFFFFF;
    text-align: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-buy-salla:hover {
    background: var(--gold-primary);
    color: #1E1B18;
}

.btn-details-icon {
    background: var(--bg-secondary);
    color: var(--text-dark);
    border: 1px solid var(--border-soft);
    padding: 10px 13px;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-details-icon:hover {
    background: var(--border-soft);
}

/* Load More Button */
.load-more-wrap {
    text-align: center;
    margin: 40px 0 20px;
}

.btn-load-more {
    background: #FFFFFF;
    color: var(--text-dark);
    border: 2px solid var(--gold-primary);
    padding: 14px 38px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}

.btn-load-more:hover {
    background: var(--gold-primary);
    color: #1E1B18;
    transform: translateY(-2px);
}

/* Blog & Interior Design Magazine Section */
.blog-section {
    padding: 70px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    margin-top: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.blog-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-img-wrap {
    height: 230px;
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.05);
}

.blog-cat-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(30, 27, 24, 0.85);
    color: var(--gold-primary);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
}

.blog-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 14px;
}

.blog-title {
    font-family: 'Amiri', serif;
    font-size: 1.42rem;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-read-article {
    background: transparent;
    color: var(--wood-accent);
    border: 1.5px solid var(--border-soft);
    padding: 10px 18px;
    border-radius: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.btn-read-article:hover {
    background: var(--text-dark);
    color: var(--gold-primary);
    border-color: var(--text-dark);
}

/* Features Banner */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-box {
    background: #FFFFFF;
    padding: 28px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.15);
    color: var(--wood-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-box h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: #1E1B18;
    color: #D6CFC7;
    padding: 64px 0 30px;
    border-top: 3px solid var(--gold-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    margin-bottom: 44px;
}

.footer-col h4 {
    color: var(--gold-primary);
    font-family: 'Amiri', serif;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--gold-primary);
    padding-right: 6px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
}

/* Modal Styles (Product Quick View & Blog Reader) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 18, 15, 0.72);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-soft);
    animation: modalSlideUp 0.28s ease;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: sticky;
    top: 16px;
    float: left;
    margin: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: #FFF;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.modal-close:hover {
    background: var(--text-dark);
    color: #FFF;
}

.modal-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
    clear: both;
}

.modal-gallery-main {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 14px;
    background: #F8F5F0;
    margin-bottom: 12px;
    border: 1px solid var(--border-soft);
}

.modal-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.modal-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
}

.modal-thumbs img.active,
.modal-thumbs img:hover {
    border-color: var(--gold-primary);
    opacity: 1;
}

.modal-info-cat {
    color: var(--wood-accent);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-info-title {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 14px;
}

.modal-price-box {
    background: var(--bg-primary);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.modal-desc {
    white-space: pre-line;
    font-size: 0.92rem;
    color: var(--text-muted);
    max-height: 210px;
    overflow-y: auto;
    margin-bottom: 22px;
    padding-left: 8px;
}

.article-modal-body {
    padding: 36px 40px;
    clear: both;
}

.article-modal-body h2 {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.article-content h4 {
    font-size: 1.2rem;
    color: var(--wood-accent);
    margin: 22px 0 10px;
}

.article-content p {
    margin-bottom: 14px;
    color: var(--text-dark);
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid,
    .modal-product-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .search-filter-row {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.4rem;
    }
    .main-nav {
        display: none;
    }
}