
.hcs-category-container {
    max-width: 1240px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hcs-subnav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.hcs-subnav-pills a {
    background: #f1f5f9;
    color: #1e293b;
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.hcs-subnav-pills a:hover,
.hcs-subnav-pills a.active {
    background: #008080 !important;
    color: #ffffff !important;
    border-color: #008080;
}

.hcs-category-header {
    margin-bottom: 1.75rem;
    color: #64748b;
    font-size: 1rem;
}

.hcs-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.hcs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.06);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hcs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.hcs-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0e2f44;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.hcs-card-img {
    height: 230px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}

.hcs-card-img img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
}

.hcs-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hcs-cat-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #008080;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.hcs-card-title {
    font-size: 1.15rem;
    color: #0e2f44;
    line-height: 1.35;
    margin-bottom: 0.5rem;
}

.hcs-card-codes {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.hcs-specs-box {
    background: #f8fafc;
    border-left: 3px solid #0ea5e9;
    padding: 0.55rem 0.8rem;
    font-size: 0.775rem;
    color: #334155;
    margin-bottom: 0.85rem;
    border-radius: 0 4px 4px 0;
    line-height: 1.45;
}

.hcs-card-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.hcs-pricing-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem;
    margin-bottom: 1.25rem;
}

.hcs-retail-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.95rem;
    color: #0e2f44;
    margin-bottom: 0.35rem;
}

.hcs-retail-line strong {
    font-size: 1.3rem;
}

.hcs-wholesale-line {
    font-size: 0.75rem;
    color: #15803d;
    font-weight: 600;
    background: #ecfdf5;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
}

.hcs-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.hcs-btn-add {
    background: #008080;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.hcs-btn-add:hover {
    background: #006666;
}

.hcs-btn-buy {
    background: #0e2f44;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hcs-btn-buy:hover {
    background: #1a4a6b;
}

/* Checkout Page Styles */
.hcs-checkout-wrapper {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hcs-checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.hcs-form-step {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.85rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.hcs-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.hcs-step-num {
    background: #008080;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.hcs-step-header h3 {
    font-size: 1.25rem;
    color: #0e2f44;
    margin: 0;
}

.hcs-form-row {
    margin-bottom: 1.2rem;
}

.hcs-form-row label {
    display: block;
    font-size: 0.825rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.hcs-form-row input,
.hcs-form-row select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
}

.hcs-form-row input:focus,
.hcs-form-row select:focus {
    border-color: #008080;
}

.hcs-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hcs-three-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 1rem;
}

.hcs-input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hcs-badge-secure {
    position: absolute;
    right: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #15803d;
}

.hcs-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hcs-radio-card {
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.hcs-radio-card:has(input:checked) {
    border-color: #008080;
    background: #f0fdfa;
}

.hcs-btn-submit-order {
    background: #008080;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 1.15rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 128, 128, 0.4);
    transition: background 0.2s;
}

.hcs-btn-submit-order:hover {
    background: #006666;
}

.hcs-ssl-notice {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.85rem;
}

/* Order Summary Box */
.hcs-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    position: sticky;
    top: 2rem;
}

.hcs-summary-card h3 {
    font-size: 1.25rem;
    color: #0e2f44;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.hcs-cart-items-list {
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 1.25rem;
}

.hcs-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
}

.hcs-cart-item-title {
    font-weight: 600;
    color: #1e293b;
    max-width: 65%;
}

.hcs-cart-item-meta {
    font-size: 0.75rem;
    color: #64748b;
}

.hcs-breakdown {
    border-top: 2px solid #e2e8f0;
    padding-top: 1rem;
    margin-bottom: 1.5rem;
}

.hcs-breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #475569;
}

.hcs-total-row {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0e2f44;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 0.5rem;
}

.hcs-summary-trust {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.85rem;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.6;
}

/* Confirmation Page */
.hcs-confirmation-box {
    max-width: 650px;
    margin: 4rem auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08);
}

.hcs-confirm-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    font-weight: 900;
}

.hcs-confirmation-box h2 {
    color: #0e2f44;
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.hcs-conf-sub {
    font-size: 1.1rem;
    color: #008080;
    margin-bottom: 1rem;
}

.hcs-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 860px) {
    .hcs-checkout-grid {
        grid-template-columns: 1fr;
    }
    .hcs-two-col, .hcs-three-col, .hcs-payment-options {
        grid-template-columns: 1fr;
    }
}
