/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* =========================
   ROOT COLORS
========================= */
:root {
    --gold: #d4af37;
    --dark-gold: #b8962e;
    --black: #0a0a0a;
}

/* =========================
   BODY
========================= */
body {
    font-family: 'Poppins', sans-serif;
    background: #f7f7f7;
    color: #111;
    line-height: 1.6;
}

/* =========================
   NAVBAR
========================= */
nav {
    background: rgba(0,0,0,0.92);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* =========================
   HERO
========================= */
.hero {
    min-height: 95vh;
    background: url('images/hero.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    padding: 40px 20px;
}

.hero-overlay {
    background: rgba(0,0,0,0.65);
    padding: 60px 40px;
    border-radius: 14px;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 70px);
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.tagline {
    color: #ddd;
    margin-top: 10px;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-location {
    position: absolute;
    bottom: 15px;
    color: #ccc;
    font-size: 13px;
}

/* =========================
   BUTTONS
========================= */
.btn,
.btn-fill {
    background: black;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover,
.btn-fill:hover {
    background: gold;
    color: black;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 14px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* =========================
   SECTIONS (FIXED ALIGNMENT)
========================= */
section {
    max-width: 1100px;
    margin: 35px auto;
    padding: 50px 20px;
    background: #fff;
    border-radius: 12px;
    text-align: left;

    text-align: left; /* ✅ FIX */
}

#collection {
    margin-top: 20px;
}

section h2 {
    margin-bottom: 30px;
}

.category-box {
    margin-bottom: 40px;
}

/* =========================
   CONTROLLED ALIGNMENT FIX
========================= */

/* Headings centered */
h2 {
    text-align: center;
}

/* Category titles */
.category-title {
    text-align: center;
}

/* Story section */
#story {
    text-align: center;
}

/* Social icons already fine (flex center) */

/* Contact cards */
.contact-card {
    text-align: center;
}

/* Checkout title only */
#checkout h2 {
    text-align: center;
}

/* Testimonials title */
#testimonials h2 {
    text-align: center;
}

/* =========================
   HEADINGS
========================= */
h2 {
    text-align: center;
    color: var(--gold);
    margin-bottom: 25px;
}

.category-title {
    text-align: center;
    margin: 30px 0 15px;
    color: var(--gold);
    font-size: 20px;
}

/* =========================
   PRODUCT GRID (FIXED)
========================= */
.product-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: auto;
}

/* Tablet */
@media(max-width:900px){
    .product-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media(max-width:600px){
    .product-row {
        grid-template-columns: 1fr;
    }
}

/* =========================
   PRODUCT CARD (FIXED HEIGHT)
========================= */
.product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    will-change: transform;
}

.product:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.product {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.product img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    background: #f4f4f4;
    padding: 10px;
}

.product h3 {
    text-align: center;
    margin: 10px 0 5px;
}

.price {
    text-align: center;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 10px;
}

.actions {
    display: flex;
    gap: 10px;
    padding: 15px;
    justify-content: center;
    flex: 1;
}

/* =========================
   BADGE
========================= */
/* BADGES */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: #000;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 5px;
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 5px;
}

/* PRICE */
.old-price {
    display: block;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* RATING */
.rating {
    text-align: center;
    font-size: 13px;
    color: #555;
    margin-top: 5px;
}

/* BUTTON HOVER (BOOST CONVERSION) */
.btn:hover,
.btn-fill:hover {
    background: var(--dark-gold);
    transform: scale(1.05);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

.badge-danger {
    background: #e63946;
    color: #fff;
}

.badge-success {
    background: #2a9d8f;
    color: #fff;
}
.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;

    background: red;
    color: white;

    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;

    border-radius: 5px;
    z-index: 10;
}
/* =========================
   STORY (FIXED ALIGNMENT)
========================= */

#story {
    margin-top: 35px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.story-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    color: #333;
}

.story-highlight {
    max-width: 750px;
    margin: 20px auto 0;
    text-align: center;
    color: var(--gold);
    font-weight: 600;
    font-size: 16px;
}

/* =========================
   SOCIAL ICONS (FIXED CENTER)
========================= */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 20px;
    text-decoration: none;
}

/* =========================
   CONTACT
========================= */
.contact-cards {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
}

.contact-card {
    text-align: center;
    padding: 25px;
    background: #fff;
    border-radius: 12px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--gold);
}

/* =========================
   FOOTER (FIXED VISIBILITY)
========================= */

footer {
    background: #0a0a0a;
    color: #fff;

    text-align: center;

    padding: 40px 20px;
    margin-top: 60px;

    width: 100%;
}

footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #ccc;
}

/* =========================
   FLOAT BUTTONS FIX (CRITICAL)
========================= */
.whatsapp,
.floating-cta {
    position: fixed !important;
    z-index: 99999;
    right: 20px;
    text-decoration: none;
}

/* WhatsApp */
.whatsapp {
    bottom: 20px;
    background: #25D366;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
}

/* Order button */
.floating-cta {
    bottom: 90px;
    background: var(--gold);
    color: #000;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 600;
}

/* =========================
   MOBILE
========================= */
@media(max-width:768px){
    .product-row {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;

        background: #111;
        flex-direction: column;
        width: 220px;

        padding: 20px;
        border-radius: 10px;

        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

#checkout {
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
}

#checkout input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* =========================
   TESTIMONIALS UPGRADE
========================= */
.testimonial-container {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background: #fff;

    padding: 25px;

    border-radius: 12px;

    box-shadow: 0 5px 18px rgba(0,0,0,0.06);

    transition: 0.3s ease;

    height: 100%;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.user {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;
}

.user img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.stars {
    color: gold;
    font-size: 14px;
}

.verified {
    color: #25D366;
    font-size: 12px;
}

.testimonial p {
    font-style: italic;

    color: #444;

    margin-top: 10px;

    line-height: 1.7;
}

.testimonial:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* =========================
   SALES POPUP (FOMO)
========================= */
.sales-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #000;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    z-index: 9999;
}

.sales-popup.show {
    opacity: 1;
    transform: translateY(0);
}
.stock {
    text-align: center;
    color: red;
    font-size: 12px;
    font-weight: 600;
    margin-top: 5px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% { opacity: 0.4; }
}

/* =========================
   CART DRAWER FIX (CRITICAL)
========================= */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.cart-drawer.active {
    right: 0;
}

.cart-item{
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.cart-thumb{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-info{
    flex: 1;
}

.cart-name{
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-price{
    color: #666;
    margin-bottom: 10px;
}

.cart-subtotal{
    margin-top: 10px;
    font-weight: bold;
}

.remove-btn{
    margin-top: 10px;
    border: none;
    background: crimson;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.cart-item p{
    margin: 5px 0;
    font-size: 15px;
}

.cart-controls{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.cart-controls button{
    width: 32px;
    height: 32px;
    border: none;
    background: #111;
    color: white;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cart-controls button:hover{
    transform: scale(1.05);
}

.cart-controls span{
    min-width: 20px;
    text-align: center;
    font-weight: 600;
}

.cart-item button:last-child{
    border: none;
    background: crimson;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
    transition: 0.3s ease;
}

.cart-item button:last-child:hover{
    opacity: 0.9;
}

#cartTotal{
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
}

.cart-drawer h3{
    margin-bottom: 20px;
    font-size: 24px;
}

/* when opened */
.cart-drawer.active {
    right: 0;
}

body.cart-open {
    overflow: hidden;
}

/* =========================
   CHECKOUT LAYOUT FIX
========================= */

.checkout-box {
    display: flex;
    flex-direction: column;
    gap: 12px;

    max-width: 400px;
    margin: 20px auto;
}

/* Inputs full width */
.checkout-box input {
    width: 100%;
}

/* Buttons spacing */
.checkout-box button {
    width: 100%;
}

/* Optional: better spacing for product text */
.checkout-box p {
    margin-bottom: 5px;
}

.btn,
.btn-outline,
.btn-fill {
    transition: all 0.3s ease;
}

.btn:hover,
.btn-fill:hover {
    transform: translateY(-2px);
}

.product {
    transition: all 0.3s ease;
}

.cart-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-link {
    display: inline-block;
    margin-top: 10px;

    padding: 8px 14px;

    border: 1px solid var(--gold);
    border-radius: 6px;

    color: var(--gold);
    text-decoration: none;
    font-size: 14px;

    transition: 0.3s ease;
    
    font-weight: 600;
}

.contact-link:hover {
    background: var(--gold);
    color: #000;
}

.email-text {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* =========================
   PRODUCT HOVER EFFECT
========================= */

.product-link .product{
    transition: 0.3s ease;
    cursor: pointer;
}

.product-link .product:hover{
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-link img{
    transition: 0.4s ease;
}

.product-link:hover img{
    transform: scale(1.03);
}

.admin-float-btn{
    position: fixed;
    bottom: 200px;
    right: 20px;
    background: black;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 9999;
    font-size: 14px;
    transition: 0.3s ease;
}

.admin-float-btn:hover{
    transform: scale(1.05);
}

button,
a,
.btn,
.btn-fill,
.btn-outline,
.admin-float-btn,
.floating-cta{
    cursor: pointer;
}

button:hover,
a:hover{
    opacity: 0.95;
}

/* ================= HERO SECTION ================= */

.hero{
    position: relative;
    min-height: 100vh;

    background:
    linear-gradient(
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.65)
    ),
    url('images/hero.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px 20px;

    overflow: hidden;
}

.hero-overlay{
    width: 100%;
    max-width: 900px;
}

.hero-content{
    animation: fadeUp 1.2s ease;
}

.hero-subtitle{
    color: gold;

    font-size: 14px;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 20px;
}

.hero h1{
    font-size: 70px;

    color: white;

    margin-bottom: 20px;

    font-weight: 700;

    line-height: 1.1;
}

.hero-text{
    color: #ddd;

    font-size: 18px;

    line-height: 1.8;

    max-width: 700px;

    margin: auto;

    margin-bottom: 40px;
}

.hero-buttons{
    display: flex;

    gap: 20px;

    justify-content: center;

    flex-wrap: wrap;

    margin-bottom: 40px;
}

.btn,
.btn-outline{
    padding: 14px 30px;

    border-radius: 40px;

    text-decoration: none;

    font-weight: 600;

    transition: 0.4s ease;
}

.btn{
    background: gold;

    color: black;
}

.btn:hover{
    transform: translateY(-4px);
}

.btn-outline{
    border: 2px solid white;

    color: white;
}

.btn-outline:hover{
    background: white;

    color: black;
}

a, button {
    transition: all 0.3s ease;
}
.hero-proof{
    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

    color: #ccc;

    font-size: 14px;
}

/* ================= ANIMATION ================= */

@keyframes fadeUp{

    from{
        opacity: 0;
        transform: translateY(40px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .hero h1{
        font-size: 38px;
    }

    .hero-text{
        font-size: 15px;
        padding: 0 10px;
    }

    .hero-proof{
        flex-direction: column;
        gap: 8px;
    }
}

/* ================= PRODUCT SECTION ================= */

#collection {
    padding: 45px 20px;
    background: #f8f8f8;
}

#collection h2{
    text-align: center;

    font-size: 42px;

    margin-bottom: 50px;

    color: #111;
}

/* PRODUCT GRID */

.product-row{
    display: grid;

    grid-template-columns:
    repeat(3, 1fr);

    gap: 30px;

    max-width: 1400px;

    margin: auto;
}

@media(max-width:900px){

    .product-row{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px){

    .product-row{
        grid-template-columns: 1fr;
    }
}

/* PRODUCT CARD */

.product{
    background: white;

    border-radius: 20px;

    overflow: hidden;

    position: relative;

    cursor: pointer;

    transition: 0.5s ease;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);
}

.product:active {
    transform: scale(0.98);
}

.product:hover{
    transform: translateY(-10px);

    box-shadow:
    0 20px 40px rgba(0,0,0,0.15);
}

/* PRODUCT IMAGE */

.product img{
    width: 100%;

    height: 350px;

    object-fit: cover;

    transition: 0.6s ease;
}

.product:hover img{
    transform: scale(1.08);
}

/* PRODUCT CONTENT */

.product h3{
    font-size: 24px;

    margin: 20px 20px 10px;

    color: #111;
}

.price{
    margin: 0 20px 20px;

    font-size: 20px;

    font-weight: bold;

    color: #c59d00;

    text-align: center;
    
    font-weight: 800;

    margin-bottom: 10px;
}

/* BUTTON AREA */

.actions{
    display: flex;

    justify-content: center;

    padding: 20px;
}

/* PREMIUM BUTTON */

.btn-fill{
    background: black;

    color: white;

    padding: 14px 28px;

    border: none;

    border-radius: 40px;

    cursor: pointer;

    font-weight: 600;

    transition: 0.4s ease;

    text-decoration: none;
}

.btn-fill:hover{
    background: gold;

    color: black;

    transform: translateY(-3px);
}

/* PRODUCT LINK */

.product a{
    text-decoration: none;
}

/* MOBILE */

@media(max-width:768px){

    #collection h2{
        font-size: 32px;
    }

    .product img{
        height: 300px;
    }
}

@media(max-width:768px){

    nav ul{
        top: 80px;
        right: 15px;
    }
}

@media(max-width:768px){

    .product{
        margin-bottom: 10px;
    }

    .actions{
        padding: 10px;
    }
}

@media(max-width:768px){

    #checkout{
        padding: 20px 15px;
    }

    .checkout-box{
        width: 100%;
        padding: 0 10px;
    }
}

.hot-tag {
    display: inline-block;
    background: red;
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    animation: blink 1.5s infinite;
}

#checkout {
    background: #fff;
    border: 2px solid #f1f1f1;
    border-radius: 16px;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.floating-cta {
    bottom: 90px;
    background: linear-gradient(135deg, gold, #c59d00);
    color: #000;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7f7f7;
    color: #111;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
