/**
 * MinerCore Shop Premium Stylesheet
 * 100% Visual Fidelity to Reference Mockup (media_1789228206765.jpg)
 * Clean 4-Column Layout, Floating Guarantee Card, Dual Action Cards, Pre-Footer Assistance.
 */

:root {
    --mc-primary: #0066ff;
    --mc-primary-hover: #0052cc;
    --mc-cyan-tag: #00e5ff;
    --mc-price-green: #059669;
    --mc-text-dark: #0f172a;
    --mc-text-muted: #64748b;
    --mc-border-card: #e2e8f0;
    --mc-bg-page: #f8fafc;
}

/* Page Reset & Specificity Overrides for Full-Width Layout */
body.post-type-archive-product .site-main,
body.woocommerce-shop .site-main,
body.tax-product_cat .site-main,
body.tax-product_tag .site-main,
.post-type-archive-product #primary,
.post-type-archive-product .site-main,
main.mc-shop-page,
.mc-shop-page {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: var(--mc-bg-page);
    color: var(--mc-text-dark);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    box-sizing: border-box;
    display: block !important;
}

.mc-shop-page *,
.mc-shop-page *::before,
.mc-shop-page *::after {
    box-sizing: border-box;
}

.mc-shop-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 1: ENTERPRISE HERO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mc-shop-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: linear-gradient(90deg, rgba(6, 17, 32, 0.96) 0%, rgba(6, 17, 32, 0.88) 45%, rgba(6, 17, 32, 0.35) 100%), 
                url('../images/homepage-hosting-datacenter.webp') no-repeat center right / cover;
    color: #ffffff;
    padding: 44px 0 62px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-shop-hero .mc-inner-hero__wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

.mc-shop-hero .mc-inner-hero__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.mc-shop-hero .mc-inner-hero__title,
.mc-shop-hero h1 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100% !important;
}

.mc-shop-hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mc-shop-hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.12em;
    color: var(--mc-cyan-tag);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mc-shop-hero-title {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: var(--fw-semibold);
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 0 0 16px 0;
}

.mc-shop-hero-title:last-child {
    margin-bottom: 0;
}

.mc-shop-hero-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mc-shop-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: var(--fw-semibold);
    color: #e2e8f0;
}

.mc-shop-pill svg {
    color: var(--mc-cyan-tag);
    flex-shrink: 0;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 2: TRUST & POLICY GUARANTEE FLOATING CARD
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mc-shop-trust-section {
    margin-top: -36px;
    position: relative;
    z-index: 10;
}

.mc-shop-trust-card {
    background: #ffffff;
    border: 1px solid var(--mc-border-card);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 4px 10px -2px rgba(0, 0, 0, 0.02);
    padding: 26px 32px 18px;
}

.mc-shop-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mc-shop-trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mc-shop-trust-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #0f2d59;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-shop-trust-icon svg {
    stroke: #0f2d59;
}

.mc-shop-trust-info {
    flex: 1;
}

.mc-shop-trust-title {
    display: block;
    font-size: 14px;
    font-weight: var(--fw-semibold);
    color: var(--mc-text-dark);
    margin-bottom: 4px;
}

.mc-shop-trust-desc {
    font-size: 12px;
    color: var(--mc-text-muted);
    line-height: 1.5;
    margin: 0;
}

.mc-shop-trust-links {
    border-top: 1px solid #f1f5f9;
    margin-top: 20px;
    padding-top: 14px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: var(--fw-semibold);
}

.mc-shop-policy-link {
    color: var(--mc-primary);
    text-decoration: none;
    transition: color 0.18s ease;
}

.mc-shop-policy-link:hover {
    color: var(--mc-primary-hover);
    text-decoration: underline;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 3: CATALOG & 4-COLUMN PRODUCT GRID
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mc-shop-catalog-section {
    padding: 38px 0 65px;
}

.mc-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.mc-shop-count {
    font-size: 13px;
    color: var(--mc-text-muted);
    font-weight: var(--fw-medium);
}

.mc-shop-select {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 34px 7px 14px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mc-shop-select:focus {
    border-color: var(--mc-primary);
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.15);
}

.mc-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mc-product-card {
    background: #ffffff;
    border: 1px solid var(--mc-border-card);
    border-radius: 12px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.mc-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.mc-card-thumb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 14px;
    overflow: hidden;
    text-decoration: none;
}

.mc-card-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.mc-product-card:hover .mc-card-img {
    transform: scale(1.03);
}

.mc-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-radius: 8px;
}

.mc-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mc-card-title {
    font-size: 15px;
    font-weight: var(--fw-semibold);
    color: var(--mc-text-dark);
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.mc-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.mc-card-title a:hover {
    color: var(--mc-primary);
}

.mc-card-meta {
    font-size: 12px;
    color: var(--mc-text-muted);
    margin-bottom: 14px;
    display: block;
    min-height: 18px;
}

.mc-card-specs {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 14px;
}

.mc-card-spec-col {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: var(--fw-semibold);
    color: #334155;
}

.mc-card-spec-divider {
    width: 1px;
    height: 14px;
    background: #cbd5e1;
}

.mc-card-price {
    font-size: var(--text-md);
    font-weight: var(--fw-semibold);
    color: var(--mc-price-green);
    margin-bottom: 16px;
    line-height: 1.2;
}

.mc-card-price ins {
    text-decoration: none;
    color: inherit;
}

.mc-card-price del {
    font-size: 13px;
    color: #94a3b8;
    margin-right: 6px;
    font-weight: var(--fw-medium);
}

.mc-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}

.mc-btn-cart {
    background-color: var(--mc-primary);
    color: #ffffff !important;
    border: 1px solid var(--mc-primary);
    border-radius: 6px;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: var(--fw-semibold);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.mc-btn-cart:hover {
    background-color: var(--mc-primary-hover);
    border-color: var(--mc-primary-hover);
}

.mc-btn-cart.is-disabled {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b !important;
    cursor: default;
}

.mc-btn-details {
    background-color: #ffffff;
    color: var(--mc-primary) !important;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: var(--fw-semibold);
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.mc-btn-details:hover {
    background-color: #eff6ff;
    border-color: #93c5fd;
}

.mc-shop-empty {
    background: #ffffff;
    border: 1px solid var(--mc-border-card);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: var(--mc-text-muted);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION 4: PRE-FOOTER ASSISTANCE SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mc-shop-assistance-section {
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20' viewBox='0 0 100 20'%3E%3Cpath d='M0 10 Q 25 0 50 10 T 100 10' fill='none' stroke='%23f1f5f9' stroke-width='1.5'/%3E%3C/svg%3E") repeat-x top center;
    border-top: 1px solid #e2e8f0;
    padding: 65px 0 75px;
}

.mc-shop-assistance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    text-align: center;
}

.mc-assist-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mc-assist-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-assist-icon svg {
    stroke: #0f172a;
}

.mc-assist-title {
    font-size: 16px;
    font-weight: var(--fw-semibold);
    color: var(--mc-text-dark);
    margin: 0 0 6px 0;
}

.mc-assist-desc {
    font-size: 13px;
    color: var(--mc-text-muted);
    line-height: 1.5;
    margin: 0 0 18px 0;
    max-width: 290px;
}

.mc-btn-pill {
    display: inline-block;
    padding: 7px 26px;
    border: 1px solid #93c5fd;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--mc-primary) !important;
    font-size: 13px;
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.mc-btn-pill:hover {
    background-color: #eff6ff;
    border-color: #60a5fa;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE DESIGN (Zero Horizontal Overflow)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 1080px) {
    .mc-shop-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 860px) {
    .mc-shop-trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .mc-shop-trust-section {
        margin-top: -30px;
    }
    .mc-shop-trust-card {
        padding: 22px 20px 16px;
    }
    .mc-shop-assistance-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .mc-shop-hero {
        min-height: auto;
        padding: 34px 0 52px;
    }
    .mc-shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .mc-product-card {
        padding: 16px 12px;
    }
    .mc-card-thumb-wrap {
        height: 150px;
    }
}

@media (max-width: 640px) {
    .mc-shop-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    .mc-shop-trust-links {
        flex-direction: column;
        gap: 10px;
    }
    .mc-shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .mc-shop-select {
        width: 100%;
    }
}

/*  Section Heading */
.mc-shop-section-heading {
    margin-bottom: 28px;
    padding-top: 4px;
}
.mc-shop-section-heading h2 {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    font-weight: 700;
    color: var(--mc-text-dark, #0f172a);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 2px solid #e2e8f0;
}