/* ==========================================================================
   1. GLOBAL THEME
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    background-color: #fcfbf9;
    color: #1a1a1a;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.page {
    padding: 100px 0 40px;
}


/* ==========================================================================
   2. SITE MENU BAR NAVIGATION
   ========================================================================== */

header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e0d8;
    padding: 15px 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #1a1a1a;
    text-decoration: none;
}

.logo span {
    color: #b59253;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

nav a:hover {
    color: #b59253;
}
.top {
    color: #1a1a1a;
    font-style: italic; 
}

/* ==========================================================================
   3. REUSABLE COMPONENTS & BUTTON ELEMENTS
   ========================================================================== */
.btn {
    background-color: #b59253;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 4px;
}

.btn:hover {
    background-color: #9d7d43;
}

.btn-small {
    padding: 6px 15px;
    font-size: 12px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #b59253;
}


/* ==========================================================================
   4. STORE CATALOG & GRID STYLING
   ========================================================================== */
.product-link {
    text-decoration: none;
    color: inherit;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #e5e0d8;
    border-radius: 6px;
    padding: 15px;
    width: 280px;
}

.product-img {
    background-color: #faf9f6;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #e5e0d8;
    overflow: hidden;
    padding: 12px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-tag {
    color: #b59253;
    font-size: 11px;
    font-weight: bold;
}

.product-title {
    font-size: 18px;
    margin: 5px 0 10px 0;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

a img {
    border: none;
    outline: none;
}


/* ==========================================================================
   5. PRODUCT PRESENTATION AD PANELS & STACKED COMPONENTS
   ========================================================================== */

.item-summary-box,
.item-specifications-section,
.feed-image-block {
    background-color: #ffffff;
    border: 1px solid #e5e0d8;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-sizing: border-box;
}

.item-main-title {
    font-size: 24px;
    margin: 12px 0 8px 0;
}

.current-price {
    font-size: 28px;
    font-weight: bold;
}

.currency-tag {
    font-size: 14px;
    color: #5a5a5a;
}

.shipping-tag {
    color: #27ae60;
    font-size: 13px;
    font-weight: bold;
    margin-left: 15px;
}

.quick-intro-text {
    color: #5a5a5a;
    font-size: 15px;
    margin: 15px 0;
    line-height: 1.7;
}

.section-heading-label {
    font-size: 16px;
    text-transform: uppercase;
    color: #b59253;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e0d8;
    padding-bottom: 8px;
}

.condition-tag {
    background-color: #f4f1ea;
    color: #b59253;
    padding: 4px 8px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
}

.feed-image-block {
    padding: 0;
    overflow: hidden;
}

.feed-image-block img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.image-caption {
    padding: 15px;
    font-size: 14px;
    border-top: 1px solid #e5e0d8;
    background: #ffffff;
}

.image-caption strong {
    color: #b59253;
}

.spec-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e5e0d8;
    font-size: 14px;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    width: 35%;
    color: #5a5a5a;
    font-weight: bold;
}

.spec-value {
    width: 65%;
}

.item-perks-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.perk-tile {
    background-color: #ffffff;
    border-left: 4px solid #b59253;
    border-top: 1px solid #e5e0d8;
    border-right: 1px solid #e5e0d8;
    border-bottom: 1px solid #e5e0d8;
    padding: 15px;
    border-radius: 0 6px 6px 0;
}

.perk-tile h3 {
    font-size: 15px;
    margin: 0 0 3px 0;
}

.perk-tile p {
    font-size: 13px;
    color: #5a5a5a;
    margin: 0;
}

.action-buy-btn {
    display: block;
    width: 100%;
    background-color: #b59253;
    color: #ffffff;
    padding: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.2s ease;
}

.action-buy-btn:hover {
    background-color: #9d7d43;
}


/* ==========================================================================
   6. STICKY BUY HEADER and BUTTONS
   ========================================================================== */

.sticky-buy-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
    background-color: #ffffff;
    border-bottom: 2px solid #b59253;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sticky-buy-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
    box-sizing: border-box;
}

.sticky-item-meta {
    min-width: 0;
}

.sticky-item-meta h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.sticky-item-meta p {
    margin: 4px 0 0;
    color: #b59253;
    font-size: 14px;
    font-weight: 700;
}

.shipping-checkmark {
    margin-left: 6px;
    color: #278547;
    font-size: 11px;
    white-space: nowrap;
}

.sticky-buy-button, .buymore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 36px;
    padding: 0 18px;
    box-sizing: border-box;
    background-color: #71a346;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.sticky-buy-button:hover, .buymore:hover {
    background-color: #63a12d;
}

.sticky-buy-button:focus-visible, .buymore:focus-visible {
    outline: 3px solid #b59253;
    outline-offset: 3px;
}

/* ==========================================================================
   7. PRODUCT PRESENTATION ROW
   ========================================================================== */

.product-presentation-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.visual-display-feed {
    flex: 1.2;
    min-width: 0;
}

.conversion-action-panel {
    flex: 0.8;
    min-width: 0;
}


/* ==========================================================================
   8. CORE TRUST BADGES & FORM INTERACTION HUB
   ========================================================================== */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.badge-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #e5e0d8;
    width: 280px;
}

.badge-card h4 {
    color: #b59253;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.badge-card p {
    font-size: 13px;
    color: #6a6a6a;
    margin: 0;
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #e5e0d8;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #4a4a4a;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #faf9f6;
    border: 1px solid #e5e0d8;
    color: #1a1a1a;
    border-radius: 4px;
}


/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.bottom {
    text-align: right;
    font-size: 14px;
    font-style: italic; 
}
.bottom a {
    color: #27ae60;
    text-decoration: none;
    margin: 0 10px;
}
.bottom a:hover {
    color: #1f9943;
}

footer {
    background-color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    border-top: 1px solid #e5e0d8;
    font-size: 14px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #5a5a5a;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #b59253;
}


/* ==========================================================================
   10. PAGINATION
   ========================================================================== */

.pagination-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e5e0d8;
}

.page-number,
.page-next,
.page-prev {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    border: 1px solid #e5e0d8;
    border-radius: 4px;
    background-color: #ffffff;
}

.page-number:hover,
.page-next:hover,
.page-prev:hover {
    border-color: #b59253;
    color: #b59253;
}

.active-page {
    background-color: #b59253;
    color: #ffffff !important;
}


/* ==========================================================================
   11. MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    .product-card,
    .badge-card {
        width: 100%;
    }

    .product-presentation-split {
        flex-direction: column;
        gap: 30px;
    }

    .visual-display-feed,
    .conversion-action-panel {
        width: 100%;
    }

    .sticky-item-meta h2 {
        font-size: 14px;
    }

    .sticky-item-meta p {
        font-size: 13px;
    }

    .item-summary-box,
    .item-specifications-section {
        padding: 20px;
    }

    .item-main-title {
        font-size: 22px;
    }

    .spec-label {
        width: 40%;
    }

    .spec-value {
        width: 60%;
    }
}


