/* NestingDepot GMC Compliance & Modern E-Commerce Styling */
:root {
    --nd-primary: #854d0e;
    --nd-primary-dark: #1c1917;
    --nd-primary-light: #a16207;
    --nd-accent: #d97706;
    --nd-warm: #fef3c7;
    --nd-text-dark: #1c1917;
    --nd-text-body: #44403c;
    --nd-text-muted: #78716c;
    --nd-bg-light: #fafaf9;
    --nd-border: #e7e5e4;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    color: var(--nd-text-body) !important;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #ffffff;
}

#header, .header-wrapper, #footer, .footer-wrapper {
    display: none !important;
}

h1, h2, h3, h4, h5, h6,
.nd-logo-text,
.nd-nav-menu > li > a,
.nd-footer-heading {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
    color: var(--nd-text-dark);
}

.nd-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. TOP ANNOUNCEMENT BAR */
.nd-top-bar {
    background: #1c1917;
    color: #e7e5e4;
    font-size: 13px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nd-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.nd-top-left, .nd-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nd-sep { opacity: 0.4; }
.nd-top-bar a {
    color: #fde68a;
    text-decoration: none;
    font-weight: 600;
}

/* 2. MAIN HEADER */
.nd-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
}
.nd-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nd-logo-badge {
    background: linear-gradient(135deg, #854d0e, #d97706);
    color: #ffffff;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nd-logo-titles {
    display: flex;
    flex-direction: column;
}
.nd-logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1c1917;
    line-height: 1.1;
}
.nd-logo-accent {
    color: #d97706;
}
.nd-tagline {
    font-size: 11px;
    color: #78716c;
    font-weight: 500;
}

/* Search Bar */
.nd-header-search {
    flex: 1;
    max-width: 520px;
}
.nd-search-form {
    display: flex;
    align-items: center;
    border: 2px solid #e7e5e4;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.nd-search-form:focus-within {
    border-color: #d97706;
}
.nd-search-input {
    flex: 1;
    border: none !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.nd-search-btn {
    background: #854d0e;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
}
.nd-search-btn:hover {
    background: #a16207;
}

/* Header Actions */
.nd-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nd-help-card {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid #e7e5e4;
    padding-right: 20px;
}
.nd-help-icon {
    color: #d97706;
}
.nd-help-info {
    display: flex;
    flex-direction: column;
}
.nd-help-label {
    font-size: 11px;
    color: #78716c;
    text-transform: uppercase;
    font-weight: 600;
}
.nd-help-phone {
    font-size: 14px;
    font-weight: 700;
    color: #1c1917;
    text-decoration: none;
}
.nd-action-links {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nd-action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #44403c;
    font-weight: 600;
    font-size: 14px;
}
.nd-cart-icon-wrapper {
    position: relative;
    color: #854d0e;
}
.nd-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nd-cart-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.nd-cart-label {
    font-size: 11px;
    color: #78716c;
}
.nd-cart-total {
    font-size: 13px;
    font-weight: 700;
    color: #1c1917;
}

/* Nav Strip */
.nd-nav-strip {
    background: #854d0e;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.nd-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.nd-nav-menu > li > a {
    display: block;
    color: #fef3c7;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.nd-nav-menu > li > a:hover {
    background: #a16207;
    color: #ffffff;
}

.nd-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 6px;
}
.nd-burger-line {
    width: 22px;
    height: 2px;
    background: #1c1917;
}

/* 3. PRODUCT TRUST BOX */
.nd-product-trust-box {
    margin: 24px 0;
    padding: 18px;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
}
.nd-trust-row {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}
.nd-trust-col {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.nd-trust-icon {
    font-size: 20px;
    line-height: 1;
}
.nd-trust-content strong {
    display: block;
    font-size: 13px;
    color: #1c1917;
}
.nd-trust-content span {
    font-size: 12px;
    color: #78716c;
}
.nd-payment-pill-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed #d6d3d1;
    flex-wrap: wrap;
}
.nd-pill-label {
    font-size: 12px;
    font-weight: 600;
    color: #57534e;
}
.nd-pay-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: #ffffff;
    border: 1px solid #d6d3d1;
    color: #1c1917;
}
.nd-pay-badge.paypal { background: #003087; color: #ffffff; border-color: #003087; }
.nd-pay-badge.visa { background: #1a1f71; color: #ffffff; border-color: #1a1f71; }
.nd-pay-badge.mc { background: #eb001b; color: #ffffff; border-color: #eb001b; }
.nd-pay-badge.amex { background: #006fcf; color: #ffffff; border-color: #006fcf; }
.nd-pay-badge.disc { background: #f97316; color: #ffffff; border-color: #f97316; }

/* 4. FOOTER */
.nd-footer {
    background: #1c1917;
    color: #d6d3d1;
    padding: 50px 0 20px 0;
    margin-top: 60px;
    border-top: 4px solid #854d0e;
    font-size: 14px;
}
.nd-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.nd-footer-logo {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
}
.nd-footer-about {
    font-size: 13px;
    line-height: 1.6;
    margin: 14px 0 18px 0;
    color: #a8a29e;
}
.nd-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
}
.nd-c-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.nd-c-item a {
    color: #fde68a;
    text-decoration: none;
}
.nd-footer-heading {
    color: #ffffff !important;
    font-size: 16px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}
.nd-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #d97706;
}
.nd-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nd-footer-links a {
    color: #a8a29e;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}
.nd-footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.nd-footer-subtext {
    font-size: 13px;
    color: #a8a29e;
    margin-bottom: 16px;
}
.nd-payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.nd-pay-badge-lg {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    background: #292524;
    border: 1px solid #44403c;
    color: #ffffff;
}
.nd-security-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #fde68a;
}
.nd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #292524;
    padding-top: 20px;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #78716c;
}
.nd-footer-bottom-links {
    display: flex;
    gap: 10px;
    align-items: center;
}
.nd-footer-bottom-links a {
    color: #a8a29e;
    text-decoration: none;
}
.nd-footer-bottom-links a:hover {
    color: #ffffff;
}

/* 5. CONTACT FORM */
.nd-contact-wrapper {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e7e5e4;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}
.nd-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}
.nd-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.nd-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #1c1917;
    margin-bottom: 6px;
}
.nd-req { color: #ef4444; }
.nd-input, .nd-textarea {
    width: 100%;
    border: 1px solid #d6d3d1 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}
.nd-btn-primary {
    background: #854d0e;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.nd-btn-primary:hover {
    background: #a16207;
}
.nd-alert-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 16px;
    border-radius: 6px;
    font-size: 14px;
}
.nd-alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

@media (max-width: 900px) {
    .nd-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .nd-top-bar-inner { justify-content: center; text-align: center; }
    .nd-top-right { display: none; }
    .nd-header-inner { flex-wrap: wrap; }
    .nd-mobile-menu-toggle { display: flex; }
    .nd-nav-strip { display: none; }
    .nd-nav-strip.is-open { display: block; }
    .nd-nav-menu { flex-direction: column; }
    .nd-nav-menu > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nd-help-card { display: none; }
    .nd-trust-row { flex-direction: column; }
}
