/* 
   Corporate Luxury Design System - Gold Border Theme (Enhanced)
   Ref: Premium Audit
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Palette */
    --c-cream: #FCFCFA;
    --c-white: #FFFFFF;
    --c-black: #111111;
    --c-gold: #C5A059;
    --c-gold-dark: #A08040;
    --c-gold-light: #E5C585;
    --c-grey-text: #555555;

    /* Semantic */
    --primary: var(--c-gold);
    --main: var(--c-gold);
    --body-bg: var(--c-cream);
    --text-main: var(--c-black);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Shapes & Animation */
    --radius-sharp: 0px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 15px 30px rgba(197, 160, 89, 0.15);
}

/* -------------------------------------
   Base & Typography
   ------------------------------------- */
body {
    background-color: var(--c-cream) !important;
    color: var(--c-black) !important;
    font-family: var(--font-body) !important;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font,
.section-title,
.flat-title .title,
.heading {
    font-family: var(--font-heading) !important;
    color: var(--c-black) !important;
    letter-spacing: -0.01em;
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* -------------------------------------
   Header (Transparent -> White Sticky)
   ------------------------------------- */
#header {
    background-color: #111111;
    /* Fallback for Safari */
    background-color: var(--c-black) !important;
    position: relative !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding 0.4s ease, box-shadow 0.4s ease;
    padding: 20px 0;
}

#header.header-sticky {
    background-color: #ffffff;
    /* Fallback */
    background-color: rgba(255, 255, 255, 0.98) !important;
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.wrapper-header {
    flex-wrap: nowrap !important;
}

/* Logo */
.logo-header img {
    max-height: 95px;
    width: auto;
    transition: transform 0.3s ease;
}

#header.header-sticky .logo-header img {
    max-height: 75px;
}

/* Nav Links */
.box-navigation .menu-item .item-link {
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500 !important;
    color: var(--c-white) !important;
    padding: 10px 0;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

#header.header-sticky .box-navigation .menu-item .item-link {
    color: var(--c-black) !important;
    text-shadow: none;
}

/* Nav Underline */
.box-navigation .menu-item .item-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--c-gold);
    transition: width 0.3s ease;
}

.box-navigation .menu-item .item-link:hover::after {
    width: 100%;
}

/* Icons */
.header-icons .icon {
    font-size: 22px;
    color: var(--c-white);
}

#header.header-sticky .header-icons .icon {
    color: var(--c-black);
}

.count-box {
    background-color: var(--c-gold) !important;
}

/* -------------------------------------
   Product Cards (Gold Border)
   ------------------------------------- */
.card-product {
    background: var(--c-white);
    border: 1px solid var(--c-gold) !important;
    padding: 25px !important;
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.card-product:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
    border-color: var(--c-gold-dark) !important;
}

.card-product-wrapper {
    margin-bottom: 20px;
    overflow: hidden;
}

.card-product .product-img {
    aspect-ratio: 1 / 0.8;
    display: block;
    width: 100%;
    overflow: hidden;
}

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

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

.card-product-info {
    text-align: center;
}

.card-product .title {
    font-family: var(--font-heading) !important;
    font-size: 22px;
    color: var(--c-black);
    margin-bottom: 8px;
    font-weight: 600;
    display: block;
}

.card-product .title:hover {
    color: var(--c-gold);
}

.card-product .price {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--c-gold-dark) !important;
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Buttons */
.btn-add-cart,
.tf-btn {
    background: var(--c-gold) !important;
    border: 1px solid var(--c-gold) !important;
    color: var(--c-white) !important;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 35px;
    width: 100%;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0 !important;
    /* Sharp */
    display: inline-block;
    text-align: center;
}

.btn-add-cart:hover,
.tf-btn:hover {
    background: var(--c-black) !important;
    border-color: var(--c-black) !important;
    color: var(--c-gold) !important;
}

/* Slider Button */
.slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--c-gold) !important;
    color: var(--c-white) !important;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 40px;
    border: 1px solid var(--c-gold);
    transition: var(--transition);
    text-decoration: none;
    margin-top: 20px;
}

.slider-btn:hover {
    background: var(--c-black) !important;
    border-color: var(--c-black) !important;
    color: var(--c-gold) !important;
    transform: translateY(-3px);
}


/* -------------------------------------
   Sections & Process
   ------------------------------------- */
.heritage-process-section {
    background-color: var(--c-white);
    padding: 100px 0;
    border-top: 1px solid #eee;
}

.process-icon-wrapper i {
    color: var(--c-gold);
    font-size: 45px;
    margin-bottom: 15px;
    display: block;
}

.process-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.separator-gold {
    height: 1px;
    width: 100px;
    background: var(--c-gold);
    margin: 40px auto;
}

/* -------------------------------------
   Footer
   ------------------------------------- */
#footer {
    background-color: var(--c-black) !important;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    border-top: 6px solid var(--c-gold);
}

.footer-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    max-height: 70px;
    margin-bottom: 25px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: white;
    transform: rotate(360deg);
}

/* -------------------------------------
   Responsive Mobile Menu
   ------------------------------------- */
@media (max-width: 1199px) {
    .box-navigation {
        display: none !important;
        /* Managed by header.php logic now, but failsafe */
    }
}

/* -------------------------------------
   Utility Resets
   ------------------------------------- */
.p-0 {
    padding: 0 !important;
}

.container-full {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}