/* --- Global Styles --- */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    position: relative;
}

h1, h2, h3, .brand-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-padding {
    padding: 80px 0;
}

.bg-grey {
    background-color: #f9f9f9;
}

/* --- Navigation Bar --- */
.navbar-default {
    background-color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-default .navbar-brand {
    color: #8B5A2B;
    font-size: 24px;
}

.navbar-default .navbar-nav > li > a {
    color: #555;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
    background-color: transparent;
    color: #8B5A2B;
    font-weight: bold;
}

/* --- Hero Banner (Jumbotron) --- */
.jumbotron {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://unsplash.com') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 150px 0 120px 0;
    margin-bottom: 0;
}

.jumbotron h1 {
    font-size: 56px;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn-primary {
    background-color: #8B5A2B;
    border-color: #8B5A2B;
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: #6E441F;
    border-color: #6E441F;
}

/* --- Typography Helpers --- */
.section-title {
    margin-bottom: 5px;
    color: #8B5A2B;
}

.section-subtitle {
    margin-bottom: 5px;
    color: #777;
    font-style: italic;
}

.title-devider {
    width: 80px;
    height: 3px;
    background-color: #8B5A2B;
    margin: 0 auto 50px auto;
}

/* --- Product Cards (Thumbnails) --- */

.thumbnail {
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.thumbnail:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.thumbnail2 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
/* --- Bagian Produk Kartu (Gambar Zoom Top) --- */
.thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top; /* Memastikan fokus pemotongan gambar dimulai dari sisi paling atas */
}
/* Memastikan tinggi gambar tidak dipaksa menjadi 'auto' oleh Bootstrap di layar HP */
@media (max-width: 767px) {
    .thumbnail img {
        height: 280px !important; /* Sedikit lebih tinggi di HP agar pakaian terlihat anggun */
        object-fit: cover !important;
        object-position: top !important;
    }
}
.thumbabout img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top; /* Memastikan fokus pemotongan gambar dimulai dari sisi paling atas */
}
.thumbnail .caption {
    padding: 20px;
    text-align: center;
}

.price {
    color: #8B5A2B;
    font-weight: bold;
    font-size: 16px;
}

/* --- Footer --- */
footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 0;
}

/* --- Floating Chatbox System --- */
.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}

.chat-button {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp Green */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-button i {
    font-size: 28px;
    line-height: 60px;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-box {
    display: none;
    width: 320px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    overflow: hidden;
}

.chat-header {
    background-color: #8B5A2B;
    color: #fff;
    padding: 15px;
    position: relative;
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
}

.chat-header p {
    margin: 5px 0 0 0;
    font-size: 12px;
    opacity: 0.8;
}

.chat-header .close-chat {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    opacity: 0.8;
}

.chat-header .close-chat:hover {
    opacity: 1;
}

.chat-body {
    padding: 15px;
    background-color: #f5f5f5;
    max-height: 200px;
    overflow-y: auto;
}

.chat-message {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.chat-footer {
    padding: 10px;
    background-color: #fff;
}

.chat-footer .btn-whatsapp {
    background-color: #25D366;
    color: white;
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
}

.chat-footer .btn-whatsapp:hover {
    background-color: #1ebd58;
    color: white;
}
