/* ==========================================================================
   1. Base Document & Core Layout Framework
   ========================================================================== */
/* ==========================================================================
   1. Base Document Global Structural Reset
   ========================================================================== */
body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; 
    background-color: #ffffff; /* Forced pure white background canvas */
    color: #1a1a1a; /* Clean modern crisp charcoal black text */
    margin: 0; 
    padding: 0; /* FIXED: Stripped out the 20px edge barrier so headers/footers hit full screen span */
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. Master Content Grid Container Architecture
   ========================================================================== */
.product-page { 
    display: grid; 
    grid-template-columns: 1fr 1fr 320px; 
    gap: 30px; 
    max-width: 1200px; /* Standardized locked max-width scale */
    margin: 40px auto 0 auto; /* Pure 40px top space breathing room below menu tracking */
    padding: 0 20px; /* FIXED: Applied page gutter protection securely here so content text stays clean */
    box-sizing: border-box; /* Assures padding doesn't swell your 1200px container boundary track */
}


/* ==========================================================================
   2. Structural Cards & Components (REDUNDANT BACKGROUNDS REMOVED)
   ========================================================================== */
.media-card, .info-card, .sidebar-card { 
    border: 1px solid #e2e8f0; /* Soft professional slate border */
    border-radius: 8px; 
    padding: 24px; 
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
	background-color:#fff;
}

/* Subtle neutral elevation transitions on block focus */
.media-card:hover, .info-card:hover, .sidebar-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* Left Column: Product Gallery */
.media-card { 
    text-align: center; 
	background-color:#fff;
}

.main-img { 
    max-width: 100%; 
    height: auto; 
    max-height: 380px;
    object-fit: contain;
    margin-bottom: 20px; 
}

.thumb-list { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
}

.thumb-item { 
    width: 60px; 
    height: 60px; 
    object-fit: cover;
    border: 1px solid #e2e8f0; 
    border-radius: 4px;
    cursor: pointer; 
    padding: 2px; 
    transition: border-color 0.15s ease;
}

.thumb-item:hover, .thumb-item.active { 
    border-color: #0056b3; /* Minimal crisp blue accent indicates user selection */
}

/* Center Column: Typography & Specification Detail Layouts */
.brand-logo { 
    color: #0056b3; 
    font-size: 13px;
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px; 
}

.product-title { 
    font-size: 24px; 
    font-weight: 700; 
    margin: 0 0 15px 0; 
    color: #111111; 
    border-bottom: 2px solid #0056b3; /* Elegant blue structural stroke line */
    padding-bottom: 12px;
}

.meta-details { 
    font-size: 14px; 
    color: #4b5563; 
    line-height: 1.8; 
}

.meta-details p {
    margin: 8px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #f1f5f9;
    padding-bottom: 6px;
}

.meta-details span { 
    color: #111111; 
    font-weight: 600; 
}

.badge { 
    background: #d32f2f; 
    color: #ffffff; 
    padding: 2px 8px; 
    font-size: 11px; 
    border-radius: 4px; 
    font-weight: 700; 
}

/* Right Column: Checkout Pricing Sidebar */
.stock-status { 
    display: flex; 
    align-items: center; 
    color: #0056b3; 
    font-weight: 700; 
    font-size: 14px; 
    margin-bottom: 4px; 
}

.stock-qty { 
    font-size: 13px; 
    color: #6b7280; 
    margin-bottom: 24px; 
}

.price-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 24px; 
    border-bottom: 2px solid #d32f2f; /* Clean horizontal matte red separator */
    padding-bottom: 12px;
}

.price-label {
    font-size: 13px;
    color: #4b5563;
}

.price-large { 
    font-size: 24px; 
    font-weight: 700; 
    color: #d32f2f; 
}

/* ==========================================================================
   3. Interactive E-Commerce Forms & Elements
   ========================================================================== */
.qty-picker { 
    display: flex; 
    align-items: center; 
    border: 1px solid #111111; /* Sharp black control profile outlines */
    border-radius: 4px; 
    width: fit-content; 
    margin-bottom: 24px; 
    overflow: hidden;
}

.qty-picker button { 
    background: #ffffff; 
    color: #111111; 
    border: none; 
    padding: 10px 16px; 
    cursor: pointer; 
    font-size: 16px; 
    font-weight: 700;
    transition: background-color 0.15s ease;
}

.qty-picker button:hover {
    background: #f1f5f9; /* Soft gray interaction instead of deep colors */
}

.qty-picker input { 
    width: 40px; 
    text-align: center; 
    border: none; 
    font-size: 14px; 
    font-weight: 700;
    color: #111111;
    outline: none; 
}

/* Hide Default Webkit/Firefox Number Input Steppers */
.qty-picker input[type="number"]::-webkit-inner-spin-button,
.qty-picker input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-picker input[type="number"] {
    -moz-appearance: textfield;
}

/* Action Primary Layout Form Button */
.btn-cart { 
    width: 100%; 
    background: #0056b3; /* Deep corporate cobalt blue primary button color rule */
    color: #ffffff; 
    border: none; 
    padding: 14px; 
    font-size: 15px; 
    font-weight: 700; 
    border-radius: 4px; 
    cursor: pointer; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    letter-spacing: 0.3px;
    transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cart:hover { 
    background: #d32f2f; /* Reverts entirely to bold custom red upon mouse interaction sweeps */
}

/* ==========================================================================
   4. Feedback Component: Toast Notifications
   ========================================================================== */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-message {
    min-width: 300px;
    max-width: 400px;
    background: #ffffff;
    color: #111111;
    border-radius: 6px;
    padding: 16px 20px;
    font-size: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.toast-message.show {
    transform: translateX(0);
}

.toast-message.toast-success { border-left: 4px solid #0056b3; }
.toast-message.toast-error { border-left: 4px solid #d32f2f; }

.toast-icon {
    font-size: 16px;
    font-weight: bold;
}
.toast-success .toast-icon { color: #0056b3; }
.toast-error .toast-icon { color: #d32f2f; }

.toast-text {
    flex-grow: 1;
    line-height: 1.4;
}

/* ==========================================================================
   5. E-Commerce Corporate Structured Footer Architecture Layout
   ========================================================================== */
.site-main-footer {
    background-color: #ffffff; /* Crisp white layout foundation surface canvas */
    border-top: 1px solid #e2e8f0; /* Soft professional structural divider break line */
    margin-top: 60px; /* Generous separation space room pushing below item content sections */
    padding-top: 50px;
    width: 100%;
    box-sizing: border-box;
}

.footer-container-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr; /* Balanced four column architecture */
    gap: 40px;
    max-width: 1200px; /* Sitting uniformly at 1200px grid path */
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

/* Column 1: Typography Branding Specific configurations */
.footer-logo-box {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.logo-accent-blue { color: #0056b3; } /* High quality royal corporate blue accent */
.logo-accent-dark { color: #111111; margin-left: 2px; }

.footer-company-subtext {
    font-size: 14px;
    font-weight: 700;
    color: #334155; /* Modern deep charcoal gray */
    margin: 0 0 16px 0;
}

.footer-contact-address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b; /* Clean professional slate muted gray text color */
}

.contact-tel-row {
    display: block;
    margin-top: 10px;
    color: #334155;
    font-weight: 500;
}

/* Social Media Channels Track Configurations */
.footer-social-media-links {
    margin-top: 24px;
}

.social-header {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.social-icons-track {
    display: flex;
    gap: 12px;
}

.social-icons-track a {
    color: #64748b;
    font-size: 20px;
    transition: color 0.15s ease;
}

.social-icons-track a:hover {
    color: #0056b3; /* Shifts completely to blue on link cursor sweeps */
}

/* Columns 2 & 3: Quick Navigation Link Arrays List */
.footer-menu-heading {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b; /* Dark sharp text for category header names */
    margin: 0 0 20px 0;
    letter-spacing: 0.3px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 13px;
    color: #64748b; /* Clean neutral tracking list text rules */
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #0056b3; /* Turns vibrant clean blue on text interactive highlights */
    transform: translateX(2px);
}

/* Column 4: Certified Standardization Card Badge Graphics Box */
.footer-certifications-column {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.cert-card-badge-container {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 16px;
    background: #f8fafc; /* Flat clean gray texture block fill */
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.cert-badge-frame {
/* ==========================================================================
   Certification Badges & Typography Metrics
   ========================================================================== */
.cert-badge-frame {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.cert-badge-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748b;
    text-transform: uppercase;
}

.cert-badge-standard {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 2px 0;
}

.cert-badge-subtext {
    font-size: 11px;
    color: #475569;
    font-weight: 500;
}

.cert-logos-clip-track {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: #94a3b8;
    font-size: 20px;
}

/* ==========================================================================
   Absolute Lowest Utility Compliance Bottom Segment Bar (FIXED COMMENT BLOCK)
   ========================================================================== */
.footer-bottom-utility-bar {
    background-color: #1e293b; /* Deep high-end dark slate gray background fill */
    color: #94a3b8; /* Light gray text contrast */
    padding: 20px 0;
    font-size: 12px;
}

.footer-bottom-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Consolidated to sit uniformly at 1200px grid path */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.utility-copyright-string {
    letter-spacing: 0.2px;
}

.modify-consent-trigger-link {
    color: #94a3b8;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.modify-consent-trigger-link:hover {
    color: #ffffff; /* Glows white upon hover choices */
}

/* Payment Processing Card Symbol Arrays */
.utility-payment-icons-tray {
    display: flex;
    gap: 8px;
}

.payment-badge {
    background-color: #334155; /* Subtle flat internal background blocks */
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    border: 1px solid #475569;
}

/* ==========================================================================
   Responsive Viewport Adaptations
   ========================================================================== */

/* Intermediate Scale: Drop Right Sidebars & Expand Footer Grids */
@media (max-width: 1100px) {
    .product-page {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .sidebar-card {
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .footer-container-grid {
        grid-template-columns: 1fr 1fr; /* Collapse into double row grids on tablets */
        gap: 30px;
    }
    .footer-certifications-column {
        justify-content: flex-start;
    }
}

/* Mobile Environments: Standardized Linear Processing Column Rows */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .product-page {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .sidebar-card {
        grid-column: span 1;
    }
    /* Reposition Alerts out of finger workspace layers directly to Top-Center */
    #toast-container {
        top: 16px;
        bottom: auto;
        left: 16px;
        right: 16px;
    }
    .toast-message {
        min-width: 0;
        width: 100%;
        transform: translateY(-150%);
    }
    .toast-message.show {
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .footer-container-grid {
        grid-template-columns: 1fr; /* Absolute single item row block stacking configurations on phones */
        padding: 0 15px 30px 15px;
    }
    .footer-bottom-flex-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
