:root {
    --primary: #2c1810;
    --cta: #8b1a3a;
    --cta-hover: #a52048;
    --accent: #c4a484;
    --gold: #c9a227;
    --bg-color: #fdf8f3;
    --bg-warm: #f5efe8;
    --border-warm: #e8d5c4;
    --white: #ffffff;
    --alert: #c0392b;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }

body {
    background-color: #e0d8d0;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--primary);
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

.main_wrap {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0,0,0,0.12);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
}

section {
    padding: 30px 20px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- BRAND HEADER --- */
.head_section { padding-top: 0; }
.brand-header {
    text-align: center;
    padding: 22px 20px 18px;
    background: linear-gradient(135deg, #2c1810 0%, #6b2030 100%);
    width: 100%;
}
.brand-header h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 700;
}
.brand-header p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.65);
    margin: 7px 0 0;
}

/* --- HERO --- */
.hero-title {
    font-family: var(--font-heading);
    font-size: 26px;
    text-align: center;
    margin: 22px 0 16px;
    font-style: italic;
    font-weight: 600;
    line-height: 1.35;
    color: var(--primary);
}
img { max-width: 100%; height: auto; display: block; }

/* --- HERO COLLAGE --- */
.hero-collage {
    display: grid;
    width: 100%;
    aspect-ratio: 1 / 1;
    gap: 3px;
    background: var(--border-warm);
}
.hero-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.collage-1 { grid-template-columns: 1fr; }
.collage-2 { grid-template-columns: 1fr 1fr; }
.collage-3 { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; }
.collage-3 img:nth-child(1) { grid-row: 1 / 3; grid-column: 1; }
.collage-4 { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
.collage-4 img:nth-child(1) { grid-row: 1 / 4; grid-column: 1; }

/* --- PRICE BLOCK --- */
.price_block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0 16px;
    background: var(--white);
    padding: 18px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139,26,58,0.1);
    border: 1.5px solid var(--border-warm);
    width: 100%;
}
.price_block .rating-box { margin: 0 0 10px 0; }
.cost_block { display: flex; justify-content: space-between; width: 100%; align-items: center; gap: 10px; }
.old_price { font-size: 14px; color: #999; text-align: center; }
.old_price p { text-decoration: line-through; font-size: 17px; margin: 5px 0 0; }
.new_price { text-align: center; color: var(--cta); }
.new_price p { font-size: 36px; font-weight: 700; margin: 0; font-family: var(--font-heading); }
.discount-tag {
    background: var(--cta);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

/* --- BENEFITS --- */
.benefits_block { display: flex; justify-content: space-between; margin: 0 0 22px; gap: 8px; width: 100%; }
.benef_card {
    flex: 1;
    text-align: center;
    background: var(--white);
    padding: 16px 6px 12px;
    border-radius: 10px;
    border: 1.5px solid var(--border-warm);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.benef_icon { font-size: 26px; margin-bottom: 7px; display: block; }
.benef_card h6 {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.45;
    font-family: var(--font-body);
    color: var(--primary);
}

/* --- BUTTONS --- */
.button {
    display: block;
    width: 100%;
    padding: 20px 0;
    background-color: var(--cta);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 17px;
    border-radius: 8px;
    letter-spacing: 1px;
    transition: background 0.25s, transform 0.1s;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(139,26,58,0.35);
    box-sizing: border-box;
    font-family: var(--font-body);
}
.button:hover, .button:active { background-color: var(--cta-hover); transform: translateY(-1px); }

/* --- STOCK BAR --- */
.stock-container { width: 100%; margin: 14px 0 0; text-align: center; }
.stock-text {
    color: var(--alert);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    letter-spacing: 0.5px;
    animation: pulse-red 2s infinite;
}
.stock-bar { width: 100%; height: 8px; background-color: #f0e4e4; border-radius: 4px; overflow: hidden; }
.stock-fill { height: 100%; background: linear-gradient(90deg, var(--cta), #e05070); border-radius: 4px; transition: width 1s ease-out; }
@keyframes pulse-red { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }

/* --- TRUST STRIP --- */
.trust-strip {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #2c1810 0%, #6b2030 100%);
    padding: 18px 10px;
    margin: 20px -20px 0;
    width: calc(100% + 40px);
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9);
    gap: 6px;
}
.trust-item span:first-child { font-size: 22px; }

/* --- SECTION TITLE --- */
.sec_title {
    font-family: var(--font-heading);
    font-size: 26px;
    text-align: center;
    margin: 0 0 28px;
    position: relative;
    padding-bottom: 15px;
    width: 100%;
    color: var(--primary);
}
.sec_title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--cta);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- SHOWROOM / DETAILS --- */
.showroom_section { background: var(--bg-warm); }
.desc_bl { width: 100%; }
.description_block {
    list-style: none;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    margin: 0;
    border: 1px solid var(--border-warm);
}
.description_block li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #f5ede4;
    font-size: 16px;
}
.description_block li:last-child { border-bottom: none; }
.description_block li b { color: var(--primary); font-size: 15px; margin-bottom: 5px; width: 100%; display: block; font-weight: 700; }
.description_block li span { color: #666; line-height: 1.7; text-align: left; width: 100%; display: block; }

/* --- SIZE HELP NOTE --- */
.size-help-note {
    font-size: 14px;
    color: #7a4a2a;
    margin-top: 15px;
    padding: 12px 16px;
    background: #fff8f0;
    border-radius: 8px;
    border: 1px solid #e0c9a8;
    display: block;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
}

/* --- TABLE --- */
.title_table { text-align: center; text-transform: uppercase; font-size: 14px; letter-spacing: 2px; margin: 30px 0 10px; font-weight: 700; }
.tbl_size { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; text-align: center; border-radius: 8px; overflow: hidden; }
.tbl_size td { border: 1px solid #f0e4da; padding: 10px 8px; }
.tops td { background: var(--primary); color: var(--white); font-weight: 700; padding: 12px 8px; }
.sep { height: 30px; width: 100%; }

/* --- PRODUCT CARD --- */
.product_card {
    background: var(--white);
    padding: 0 0 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1px solid var(--border-warm);
    width: 100%;
}
.product_card .slider { margin: 0; padding: 0; }
.product_card h5 { display: none; }
.text_block_card { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.color { font-family: var(--font-heading); font-size: 22px; margin: 0; }
.color .smler { display: block; font-family: var(--font-body); font-size: 14px; color: var(--cta); margin-top: 5px; }
.product_card .button { width: 90%; margin: 0 auto; }

/* --- SIZE CHIPS --- */
.size_wrapper { width: 90%; margin: 0 auto 15px; text-align: center; }
.size_label { font-size: 13px; color: #888; margin-bottom: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.size-selector-block { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.size-btn-chip {
    padding: 13px 18px;
    background-color: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    min-width: 65px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.size-btn-chip:hover, .size-btn-chip:active {
    background-color: var(--cta);
    border-color: var(--cta);
    color: #fff;
    box-shadow: 0 4px 12px rgba(139,26,58,0.3);
}

/* --- HOW TO ORDER --- */
.howto_section { background: var(--bg-warm); padding: 35px 20px; text-align: center; }
.delivery_grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px 10px; }
.del_item { width: 46%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.del_icon_wrapper {
    width: 68px;
    height: 68px;
    background-color: var(--white);
    border: 2px solid var(--cta);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
    position: relative;
    box-shadow: 0 4px 14px rgba(139,26,58,0.14);
}
.del_icon_wrapper::after {
    content: attr(data-step);
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background-color: var(--cta);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}
.del_item:hover .del_icon_wrapper { background-color: var(--bg-warm); }
.del_item img { width: 30px; height: auto; }
.del_item h4 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; font-family: var(--font-heading); font-weight: 700; color: var(--primary); }
.del_item p { margin: 0; font-size: 13px; line-height: 1.5; color: #666; }

/* --- FORM --- */
.form_section { background: var(--bg-warm); padding-bottom: 40px; }
form { width: 90%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.field {
    width: 100%;
    padding: 16px;
    margin-bottom: 14px;
    border: 1.5px solid var(--border-warm);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
    background: #fff;
    color: var(--primary);
}
.field:focus { border-color: var(--cta); box-shadow: 0 0 0 3px rgba(139,26,58,0.1); }
select.field {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%238b1a3a%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* --- GUARANTEE BLOCK --- */
.guarantee-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
    border: 1.5px solid var(--border-warm);
    border-radius: 12px;
    padding: 20px;
    margin: 0 0 20px;
    width: 90%;
    align-self: center;
}
.g-item { display: flex; align-items: center; gap: 14px; font-size: 15px; color: #444; line-height: 1.4; font-weight: 500; }
.g-icon { font-size: 26px; flex-shrink: 0; width: 34px; text-align: center; }

/* --- REVIEWS --- */
.review_section { background: var(--white); }
.review-summary { text-align: center; margin-bottom: 22px; }
.review-summary .rating-stars { font-size: 26px; }
.review-summary p { margin: 6px 0 0; font-size: 14px; color: #666; }
.reviews-container { display: flex; flex-direction: column; gap: 14px; width: 90%; margin: 0 auto; }
.review-card {
    background: var(--bg-color);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid var(--border-warm);
    border-left: 4px solid var(--cta);
    text-align: left;
}
.rev-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; border-bottom: 1px solid #f0e4da; padding-bottom: 10px; }
.rev-header-left { display: flex; align-items: center; gap: 10px; }
.rev-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--cta);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: var(--font-body);
}
.rev-name { font-weight: 700; font-size: 15px; color: var(--primary); display: block; }
.rev-date { font-size: 11px; color: #aaa; display: block; margin-top: 2px; }
.rev-stars { color: var(--gold); font-size: 16px; letter-spacing: 1px; }
.rev-text { font-size: 15px; line-height: 1.7; color: #555; font-style: italic; margin: 0; }
.leave-review-block {
    margin: 35px auto 20px;
    padding: 22px;
    background: var(--bg-warm);
    border-radius: 10px;
    width: 90%;
    box-sizing: border-box;
    border: 1px dashed var(--border-warm);
    text-align: center;
}
.leave-review-block h4 { margin-top: 0; font-family: var(--font-heading); color: var(--primary); font-size: 20px; }
.rev-field { width: 100%; padding: 12px; margin-bottom: 10px; border: 1.5px solid var(--border-warm); border-radius: 8px; font-family: var(--font-body); font-size: 16px; box-sizing: border-box; }
.rev-btn { background: var(--cta); color: #fff; border: none; padding: 15px 20px; border-radius: 8px; cursor: pointer; font-weight: 700; text-transform: uppercase; width: 100%; font-size: 15px; font-family: var(--font-body); }

/* --- RATING --- */
.rating-box { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0; }
.rating-stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; }
.rating-text { font-size: 12px; font-family: var(--font-body); color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- STICKY ORDER BAR --- */
.sticky-order-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 110%);
    width: 100%;
    max-width: 480px;
    background: var(--white);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.14);
    z-index: 10000;
    border-top: 2px solid var(--cta);
    transition: transform 0.3s ease-in;
    box-sizing: border-box;
}
.sticky-order-bar.visible {
    transform: translate(-50%, 0);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sticky-price { font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--cta); white-space: nowrap; flex-shrink: 0; }
.sticky-price small { font-size: 12px; color: #aaa; text-decoration: line-through; display: block; font-family: var(--font-body); font-weight: 400; }
.sticky-btn {
    flex: 1;
    padding: 14px 0;
    background: var(--cta);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(139,26,58,0.3);
    display: block;
}

/* --- FOOTER --- */
footer { background: #111; color: #666; padding: 30px 15px 90px; text-align: center; font-size: 10px; width: 100%; box-sizing: border-box; }
footer a { color: #888; text-decoration: none; }
.copyright { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.discount-note { color: var(--gold); margin-bottom: 20px; font-size: 13px; font-weight: 600; }

/* --- BXSLIDER --- */
.bx-wrapper { box-shadow: none !important; border: none !important; margin-bottom: 0 !important; background: transparent !important; }
.bx-wrapper .bx-pager { position: absolute; bottom: 12px !important; width: 100%; margin: 0; padding: 0; z-index: 50; }
.bx-wrapper .bx-pager.bx-default-pager a { background: rgba(255,255,255,0.6) !important; margin: 0 4px !important; width: 8px !important; height: 8px !important; border-radius: 50% !important; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.bx-wrapper .bx-pager.bx-default-pager a.active, .bx-wrapper .bx-pager.bx-default-pager a:hover { background: var(--cta) !important; }

/* --- MOBILE --- */
@media screen and (max-width: 480px) {
    section { padding: 24px 16px; }
    .trust-strip { margin: 20px -16px 0; width: calc(100% + 32px); }
    .hero-title { font-size: 23px; }
    .size-selector-block { gap: 6px; }
    .size-btn-chip { padding: 12px 14px; font-size: 14px; min-width: 55px; min-height: 50px; }
    .stock-text { font-size: 12px; }
    .collage-4 { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
    .sticky-order-bar { padding: 10px 16px; gap: 10px; }
    .sticky-price { font-size: 20px; }
}
