/* =====================================
   GLOBAL STYLES
===================================== */

body {
    margin: 0;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    background: #f8f8f8;
    color: #222;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
}

h1, h2 {
    margin-bottom: 20px;
}

/* =====================================
   HEADER & FOOTER
===================================== */

header {
    background: #111;
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #fff;
    margin-left: 20px;
    font-size: 14px;
}

footer,
.footer {
    background: #111;
    color: #ccc;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer > div {
    flex: 1;
    min-width: 220px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer input {
    width: 100%;
    padding: 8px;
    border: none;
}

.footer button {
    margin-top: 10px;
    padding: 8px 15px;
    background: #b88e2f;
    color: #fff;
    border: none;
    cursor: pointer;
}

.footer-copy {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #aaa;
}

/* =====================================
   HERO SECTION
===================================== */

.hero {
    height: 70vh;
    min-height: 600px;
    background: url("/assets/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
}

.hero-content h2 {
    font-size: 42px;
}

.hero-content a {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 36px;
    background: gold;
    color: #000;
    font-weight: bold;
}

/* =====================================
   PRODUCT GRID
===================================== */

.products-page {
    padding: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.product-card strong {
    display: block;
    font-size: 18px;
    margin-top: 10px;
}

.product-card .price {
    color: #b88e2f;
    font-weight: 600;
    margin-top: 5px;
}

/* =====================================
   PRODUCT IMAGE SLIDER
===================================== */

.product-image-box {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.product-image-box img.active {
    display: block;
}

/* =====================================
   PRODUCT DETAIL PAGE
===================================== */

.product-detail-page {
    padding: 40px;
}

.container.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.main-img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbs img:hover {
    border-color: gold;
}

/* =====================================
   TABLES (CART / ADMIN)
===================================== */

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table th,
table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

table th {
    background: #eee;
}

/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 768px) {
    .products-page {
        padding: 20px;
    }

    .container.product-layout {
        grid-template-columns: 1fr;
    }

    .product-image-box {
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .hero-content h2 {
        font-size: 28px;
    }
}
/* FEATURED SLIDER */
.featured-section {
    padding: 40px 20px;
    position: relative;
}

.featured-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.featured-card {
    min-width: 260px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.featured-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

.featured-card h3 {
    margin: 10px 0 5px;
}

.featured-card p {
    color: #b88e2f;
    font-weight: bold;
}

/* ===== PRODUCT IMAGE HOVER ZOOM ===== */

.featured-card {
    overflow: hidden;
    position: relative;
}

.featured-card img {
    transition: transform 0.5s ease;
}

.featured-card:hover img {
    transform: scale(1.12);
}


.slide-btn {
    position: absolute;
    top: 40%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 10;
}

.slide-btn.left { left: 0; }
.slide-btn.right { right: 0; }


/* TRUST / GUARANTEE SECTION */
.trust-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.trust-box img {
    width: 70px;
    margin-bottom: 15px;
}

.trust-box h4 {
    font-size: 16px;
    font-weight: 500;
    color: #7a4a14;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .featured-card {
        min-width: 220px;
    }
}
