/* ===========================================================
   Tech Shop – Green theme, based on InProgress IT styles
   =========================================================== */

/* أولاً نستورد تصميم الموقع الرئيسي */
@import url('/assets/css/main.css');

/* ألوان Tech Shop */
:root {
    --ts-dark:   #005B41;  /* TECH */
    --ts-light:  #00C057;  /* SHOP / accent */
    --ts-bg:     #F4FFF9;  /* خلفية ناعمة */
    --ts-text:   #0f172a;
    --ts-blue:   #001D51;  /* InProgress IT blue */
}

/* خلفية المتجر ونصه */
.techshop-body {
    background: var(--ts-bg);
    color: var(--ts-text);
    font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ================= Header ================= */

.techshop-header {
    background: var(--ts-dark);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.techshop-header .header-inner {
    padding: 0.8rem 0;
}

.techshop-header .logo-text {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    color: #ffffff;
}

.techshop-header .logo-text .highlight {
    color: var(--ts-light);
}

.techshop-header .logo-sub {
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.9);
}

/* Navigation */

.techshop-nav ul {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.techshop-nav a {
    color: #e5e7eb;
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

.techshop-nav a:hover {
    background: rgba(15, 23, 42, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ================= Hero ================= */

/* نفس بنية hero الأساسية لكن بألوان Tech Shop */
.hero-techshop {
    background: linear-gradient(135deg, var(--ts-dark), var(--ts-light));
    color: #ffffff;
}

.hero-techshop .hero-inner {
    gap: 1.3rem;
}

.hero-techshop h1 {
    margin-bottom: 0.9rem;
}

.hero-techshop p {
    color: #e0fdf0;
}

/* ================= Sections ================= */

.techshop-body .section-alt {
    background: #e1f6ea;
}

/* ================= Buttons ================= */

/* نستخدم نفس .btn لكن بألوان Tech Shop عندما نكون داخل Tech Shop */

.techshop-body .btn-primary {
    background: var(--ts-light);
    border-color: var(--ts-light);
    color: #ffffff;
}

.techshop-body .btn-primary:hover {
    opacity: 0.9;
    text-decoration: none;
}

.techshop-body .btn-outline {
    border-color: #9ca3af;
    color: var(--ts-dark);
}

.techshop-body .btn-outline:hover {
    background: rgba(148, 163, 184, 0.2);
}

/* ================= Products ================= */

.products-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.products-filter span {
    font-size: 0.9rem;
    color: #4b5563;
}

.products-filter ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.products-filter a {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    text-decoration: none;
    background: #ffffff;
}

.products-filter a:hover {
    background: #e2f3ea;
}

.products-filter a.active {
    background: var(--ts-light);
    border-color: var(--ts-light);
    color: #ffffff;
}

/* شبكة المنتجات */

.products-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid #dbe3ea;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.product-card h2 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ts-dark);
}

.product-category {
    font-size: 0.8rem;
    color: #6b7280;
}

.product-badge {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--ts-light);
    color: #022c22;
    font-weight: 600;
}

.product-short {
    font-size: 0.9rem;
    color: #4b5563;
}

.product-specs,
.product-condition,
.product-price {
    font-size: 0.85rem;
    color: #374151;
    margin: 0.25rem 0;
}

.products-note {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 1rem;
}

/* ================= Forms & Alerts ================= */

.techshop-body .contact-form {
    background: #ffffff;
    border-color: #dbe3ea;
}

.techshop-body .form-group input,
.techshop-body .form-group textarea {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.techshop-body .form-group input:focus,
.techshop-body .form-group textarea:focus {
    border-color: var(--ts-light);
    box-shadow: 0 0 0 1px rgba(0, 192, 87, 0.35);
}

/* Alerts */

.techshop-body .alert-success {
    background: #dcfce7;
    border-color: #22c55e;
    color: #166534;
}

.techshop-body .alert-error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

/* ================= Footer ================= */

.techshop-footer {
    background: var(--ts-dark);
    color: #e2e8f0;
    padding: 1.25rem 0;
    margin-top: 2rem;
}

.techshop-footer .footer-inner {
    text-align: center;
    font-size: 0.9rem;
}

.techshop-footer .powered {
    color: var(--ts-blue);
    font-weight: 600;
}

/* ================= Responsive ================= */

@media (max-width: 768px) {
    .techshop-nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
/* ===== Tech Shop Products page tuning ===== */

.techshop-body .page-hero {
    background: linear-gradient(135deg, var(--ts-dark), var(--ts-light));
    color: #ffffff;
    border-bottom: none;
}

.techshop-body .page-hero h1 {
    margin-bottom: 0.4rem;
}

.techshop-body .page-hero p {
    color: #e0fdf0;
}

/* تأكيد شكل كروت المنتجات */

.techshop-body .products-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.techshop-body .product-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid #dbe3ea;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.techshop-body .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.techshop-body .product-card header {
    margin-bottom: 0.5rem;
}

.techshop-body .product-card h2 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--ts-dark);
}

.techshop-body .product-category {
    font-size: 0.8rem;
    color: #6b7280;
}

.techshop-body .product-badge {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--ts-light);
    color: #022c22;
    font-weight: 600;
}

.techshop-body .product-short {
    font-size: 0.9rem;
    color: #4b5563;
}

.techshop-body .product-specs,
.techshop-body .product-condition,
.techshop-body .product-price {
    font-size: 0.85rem;
    color: #374151;
    margin: 0.25rem 0;
}

.techshop-body .product-card footer {
    margin-top: 0.75rem;
}

/* فلتر الكاتيجوري */

.techshop-body .products-filter span {
    color: #4b5563;
}

.techshop-body .products-filter a {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.techshop-body .products-filter a:hover {
    background: #e2f3ea;
}

.techshop-body .products-filter a.active {
    background: var(--ts-light);
    border-color: var(--ts-light);
    color: #ffffff;
}

/* ===== Tech Shop Services small tuning ===== */

.techshop-body .cards .card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.techshop-body .cards .card p {
    margin-bottom: 0.5rem;
}

.techshop-body .cards .steps {
    padding-left: 1.1rem;
    margin: 0.3rem 0 0.4rem;
}

.techshop-body .cards .steps li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}
