/* =====================================================
   DYMO SHOP - PRODUCT LIST
===================================================== */

.shop-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    padding: 15px;
}


/* ================= HERO ================= */

.category-hero {
    background: linear-gradient(
        135deg,
        #111827,
        #2563eb
    );
    border-radius: 15px;
    padding: 40px 20px;
    margin-bottom: 25px;
    color: white;
}


.hero-content {
    max-width: 650px;
}


.hero-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
}


.hero-content p {
    font-size: 16px;
    margin-bottom: 20px;
}


.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: #2563eb;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}



/* ================= HEADER ================= */


.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}


.category-header h2 {
    font-size: 24px;
}



/* ================= PRODUCT GRID ================= */


.product-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fill, minmax(220px, 1fr));

    gap: 15px;

}



/* ================= CARD ================= */


.product-card {

    background: white;

    border-radius: 12px;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    transition: 0.3s;

}


.product-card:hover {

    transform: translateY(-5px);

    box-shadow:
    0 10px 25px rgba(0,0,0,0.08);

}



/* ================= IMAGE ================= */


.product-image {

    display:block;

    width:100%;

    height:220px;

    background:#f8fafc;

}


.product-image img {

    width:100%;

    height:100%;

    object-fit:contain;

}



/* ================= INFO ================= */


.product-info {

    padding:12px;

}


.brand {

    font-size:13px;

    color:#2563eb;

    font-weight:600;

}


.product-info h3 {

    font-size:16px;

    margin:8px 0;

    line-height:1.3;

}



.product-model {

    font-size:13px;

    color:#6b7280;

}



/* ================= SPECS ================= */


.product-specs {

    display:flex;

    flex-wrap:wrap;

    gap:6px;

    margin:10px 0;

}


.product-specs span {

    background:#f1f5f9;

    padding:5px 8px;

    border-radius:6px;

    font-size:12px;

}



/* ================= PRICE ================= */


.price-container {

    display:flex;

    gap:8px;

    align-items:center;

    margin:10px 0;

}



.current-price {

    font-size:18px;

    font-weight:700;

    color:#16a34a;

}



.old-price {

    font-size:13px;

    color:#9ca3af;

    text-decoration:line-through;

}



/* ================= ACTION ================= */


.product-actions {

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:8px;

}


.btn-outline {

    border:1px solid #2563eb;

    color:#2563eb;

    padding:7px 12px;

    border-radius:7px;

    text-decoration:none;

    font-size:13px;

}



.btn-outline:hover {

    background:#2563eb;

    color:white;

}



.stock-status {

    font-size:12px;

    font-weight:600;

}



.in-stock {

    color:#16a34a;

}



.out-of-stock {

    color:#dc2626;

}



/* ================= EMPTY ================= */


.no-data {

    text-align:center;

    padding:50px 10px;

}



/* =====================================================
   MOBILE
===================================================== */


@media(max-width:768px){


.shop-container{

    padding:10px;

}


.category-hero{

    padding:25px 15px;

}



.hero-content h1{

    font-size:24px;

}



.category-header{

    flex-direction:column;

    align-items:flex-start;

    gap:5px;

}



/* 2 produits par ligne (minmax(0,1fr) évite les débordements) */

.product-grid{

    grid-template-columns:
    repeat(2, minmax(0, 1fr));

    gap:10px;

}



.product-image{

    height:150px;

}



.product-info{

    padding:10px;

}



.product-info h3{

    font-size:14px;

}



.current-price{

    font-size:15px;

}



.product-actions{

    flex-direction:column;

    align-items:stretch;

}


.btn-outline{

    text-align:center;

}


}



/* Petit téléphone : on garde 2 colonnes, on compacte les éléments */

@media(max-width:380px){


.product-grid{

    grid-template-columns:
    repeat(2, minmax(0, 1fr));

    gap:8px;

}


.product-image{

    height:120px;

}


.product-info{

    padding:8px;

}


.product-info h3{

    font-size:13px;

}


.current-price{

    font-size:14px;

}


.old-price{

    font-size:11px;

}


.product-specs span{

    font-size:11px;

    padding:4px 6px;

}


.btn-outline{

    padding:6px 8px;

    font-size:12px;

}


}