/* =====================================================
   SHOP MaPêcheConnect
   CSS uniquement shop, basé sur les variables du site principal
===================================================== */

body.shop-page{
    background:#03040a!important;
}

body.shop-page::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:-3;
    background:url('/assets/img/bg-shop.png') center top/cover fixed no-repeat!important;
    filter:brightness(1) contrast(1.05) saturate(1.05);
    opacity:1!important;
    transform:none!important;
}

body.shop-page::after{
    content:"";
    position:fixed;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:
        linear-gradient(90deg, rgba(3,4,10,.20) 0%, rgba(3,4,10,.05) 46%, rgba(3,4,10,.15) 100%),
        linear-gradient(180deg, rgba(3,4,10,.05) 0%, rgba(3,4,10,.18) 100%);
}

.shop-brand-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 13px;
    margin-left:2px;
    border-radius:11px;
    border:1px solid rgba(179,92,255,.55);
    background:rgba(139,66,255,.16);
    color:#fff;
    font-size:13px;
    font-weight:950;
    letter-spacing:.06em;
    box-shadow:0 0 24px rgba(139,66,255,.22);
}

.shop-main-page{
    position:relative;
    z-index:1;
    flex:1;
    overflow:hidden;
}

.shop-container{
    width:min(var(--container,1480px), calc(100% - 112px));
    margin:0 auto;
}

.shop-hero-v2{
    position:relative;
    min-height:calc(100vh - var(--header-h,82px));
    padding:72px 0 42px;
}

.shop-hero-grid{
    display:grid;
    grid-template-columns:minmax(420px,620px) 1fr;
    align-items:center;
    min-height:560px;
}

.shop-hero-content{
    max-width:620px;
    text-shadow:0 12px 38px rgba(0,0,0,.76);
    animation:shopFadeUp .75s ease both;
}

.shop-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin:0 0 22px;
    color:var(--gold2,#f3d58a);
    font-size:12px;
    font-weight:950;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.shop-kicker::before{
    content:"";
    width:32px;
    height:2px;
    border-radius:99px;
    background:linear-gradient(90deg, transparent, var(--purple2,#b35cff), var(--gold2,#f3d58a));
    box-shadow:0 0 18px rgba(179,92,255,.42);
}

.shop-kicker i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--purple2,#b35cff), var(--gold2,#f3d58a));
    box-shadow:0 0 18px rgba(179,92,255,.75);
}

.shop-hero-content h1{
    margin:0 0 22px;
    color:#fff;
    font-size:clamp(48px,5vw,82px);
    line-height:.96;
    letter-spacing:-.065em;
    font-weight:950;
}

.shop-hero-content h1 span,
.shop-hero-content h1 strong{
    display:block;
}

.shop-hero-content h1 strong{
    max-width:100%;
    padding-bottom:.09em;
    background:linear-gradient(90deg,#a000ff 0%,#c05dff 50%,#f3d58a 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
    white-space:normal;
}

.shop-hero-content p{
    max-width:610px;
    margin:0;
    color:rgba(255,255,255,.84);
    font-size:18px;
    line-height:1.7;
    font-weight:650;
}

.shop-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-top:30px;
}

.shop-btn{
    min-height:56px;
    padding:0 26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,.12);
    font-size:14px;
    font-weight:950;
    transition:transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.shop-btn:hover{
    transform:translateY(-3px);
}

.shop-btn-gold{
    background:linear-gradient(135deg,var(--gold2,#f3d58a),var(--gold,#d8a34d));
    border-color:rgba(243,213,138,.65);
    color:#120c05;
    box-shadow:0 22px 60px rgba(216,163,77,.28);
}

.shop-btn-glass{
    background:rgba(10,7,20,.40);
    border-color:rgba(179,92,255,.34);
    color:#eecbff;
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
}

.shop-feature-row{
    position:relative;
    z-index:4;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    margin-top:-12px;
}

.shop-feature-card{
    display:flex;
    align-items:center;
    gap:16px;
    min-height:96px;
    padding:18px 20px;
    border-radius:20px;
    background:linear-gradient(135deg,rgba(91,25,115,.54),rgba(10,8,18,.46));
    border:1px solid rgba(179,92,255,.32);
    box-shadow:0 24px 80px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    animation:shopFloat 5.5s ease-in-out infinite;
}

.shop-feature-card:nth-child(2){animation-delay:.35s}
.shop-feature-card:nth-child(3){animation-delay:.7s}
.shop-feature-card:nth-child(4){animation-delay:1.05s}

.shop-feature-card>span{
    flex:0 0 48px;
    width:48px;
    height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:15px;
    background:rgba(179,92,255,.20);
    border:1px solid rgba(255,255,255,.10);
    color:#f2ccff;
    font-size:24px;
    box-shadow:0 0 34px rgba(179,92,255,.18);
}

.shop-feature-card strong{
    display:block;
    color:#fff;
    font-size:15px;
    margin-bottom:5px;
}

.shop-feature-card p{
    margin:0;
    color:rgba(255,255,255,.68);
    font-size:13px;
    line-height:1.35;
}

.shop-products-section{
    padding:48px 0 100px;
}

.shop-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:24px;
}

.shop-section-head h2{
    margin:0;
    color:#fff;
    font-size:clamp(30px,3vw,48px);
    line-height:1;
    letter-spacing:-.045em;
}

.shop-mini-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.shop-mini-actions span,
.shop-mini-actions a{
    min-width:46px;
    height:46px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.04);
    color:rgba(255,255,255,.82);
    font-weight:850;
    backdrop-filter:blur(14px);
}

.shop-mini-actions a{
    min-width:110px;
    color:#d9b8ff;
    border-color:rgba(179,92,255,.28);
}

.shop-product-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
}

.shop-product-card,
.shop-panel,
.shop-product-info,
.shop-product-image,
.shop-summary,
.shop-checkout-form{
    background:linear-gradient(180deg,rgba(41,12,55,.62),rgba(8,7,16,.72));
    border:1px solid rgba(179,92,255,.24);
    box-shadow:0 28px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
}

.shop-product-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.shop-product-card:hover{
    transform:translateY(-9px);
    border-color:rgba(244,201,107,.42);
    box-shadow:0 34px 100px rgba(0,0,0,.52),0 0 40px rgba(179,92,255,.12);
}

.shop-product-visual,
.shop-product-image{
    position:relative;
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:radial-gradient(circle at 50% 30%,rgba(179,92,255,.35),rgba(8,7,16,.85));
}

.shop-product-visual::after{
    content:"";
    position:absolute;
    inset:auto 20px 0;
    height:64px;
    background:radial-gradient(ellipse at center,rgba(179,92,255,.45),transparent 70%);
    filter:blur(14px);
}

.shop-product-visual em{
    position:absolute;
    top:16px;
    left:16px;
    z-index:3;
    padding:6px 10px;
    border-radius:9px;
    background:linear-gradient(135deg,var(--purple,#8b42ff),var(--purple2,#b35cff));
    color:#fff;
    font-style:normal;
    text-transform:uppercase;
    font-size:11px;
    font-weight:950;
}

.shop-heart{
    position:absolute;
    right:16px;
    top:16px;
    z-index:4;
    width:40px;
    height:40px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(10,7,20,.55);
    color:#fff;
    font-size:22px;
    cursor:pointer;
}

.shop-product-visual img,
.shop-product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.shop-placeholder{
    position:absolute;
    inset:0;
    background:url('/assets/img/bg-shop.png') center 38%/190% auto no-repeat;
    filter:saturate(1.05) brightness(1.05);
    transform:scale(1.03);
}

.shop-product-body{
    position:relative;
    padding:22px;
}

.shop-product-body small{
    color:#d9a6ff;
    text-transform:uppercase;
    letter-spacing:.10em;
    font-weight:950;
    font-size:11px;
}

.shop-product-body h3{
    margin:10px 0;
    color:#fff;
    font-size:21px;
    line-height:1.15;
}

.shop-product-body p{
    min-height:54px;
    color:rgba(255,255,255,.70);
    line-height:1.5;
    margin:0;
}

.shop-product-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-top:20px;
}

.shop-product-bottom strong,
.shop-price,
.shop-total strong{
    color:var(--gold2,#f3d58a);
    font-weight:950;
    font-size:24px;
}

.shop-product-bottom span{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(139,66,255,.30);
    border:1px solid rgba(179,92,255,.35);
    color:#fff;
}

.shop-empty{
    padding:22px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(255,255,255,.07);
    color:rgba(255,255,255,.75);
    margin:18px 0;
    backdrop-filter:blur(18px);
}

.shop-product-detail{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:28px;
    padding:90px 0;
}

.shop-product-image{min-height:560px;border-radius:30px;overflow:hidden}
.shop-product-info,.shop-panel{border-radius:30px;padding:34px}
.shop-product-info h1,.shop-panel h1{font-size:clamp(36px,5vw,64px);line-height:1;color:#fff;margin-top:0}
.shop-product-info p,.shop-panel p{color:rgba(255,255,255,.72)}

.shop-add-form,.shop-checkout-form{display:grid;gap:16px;margin-top:26px}
.shop-add-form label,.shop-checkout-form label{display:grid;gap:8px;color:rgba(255,255,255,.75);font-weight:800}
.shop-add-form input,.shop-cart-row input,.shop-checkout-form input,.shop-checkout-form textarea{border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(0,0,0,.28);color:#fff;padding:13px 14px;font:inherit}
.shop-add-form input{width:120px}
.shop-panel{margin:70px auto}
.shop-cart-list{display:grid;gap:14px;margin-top:24px}
.shop-cart-row{display:grid;grid-template-columns:1fr 100px 140px auto;gap:16px;align-items:center;padding:16px;border:1px solid rgba(255,255,255,.14);border-radius:20px;background:rgba(0,0,0,.20);color:#fff}
.shop-cart-row p{margin:6px 0 0}.shop-cart-row button{border:0;border-radius:999px;padding:10px 14px;cursor:pointer;font-weight:900}.shop-total{font-size:26px;margin:24px 0;color:#fff}.shop-checkout-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;margin-top:24px}.shop-checkout-form,.shop-summary{border-radius:24px;padding:24px}.shop-summary h2{margin-top:0;color:#fff}.shop-summary p{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:12px}.shop-success{text-align:center;max-width:760px}

@keyframes shopFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes shopFadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}

@media(max-width:1180px){
    .shop-product-grid,.shop-feature-row{grid-template-columns:repeat(2,minmax(0,1fr))}
    .shop-hero-grid{grid-template-columns:1fr;min-height:520px}
    .shop-feature-row{margin-top:20px}
}

@media(max-width:920px){
    .shop-product-grid,.shop-product-detail,.shop-checkout-grid{grid-template-columns:1fr}
    .shop-product-image{min-height:320px}
    .shop-cart-row{grid-template-columns:1fr}
    .shop-section-head{align-items:flex-start;flex-direction:column}
}

@media(max-width:800px){
    .shop-container{width:min(100% - 28px, var(--container,1480px))}
    .shop-brand-badge{height:28px;padding:0 10px;font-size:11px}
    .shop-hero-v2{min-height:auto;padding:42px 0 28px}
    .shop-hero-grid{min-height:auto;padding:42px 0 180px}
    .shop-hero-content h1{font-size:clamp(38px,13vw,58px)}
    .shop-feature-row{grid-template-columns:1fr}
}

@media(max-width:560px){
    body.shop-page::before{background-position:center top!important;background-attachment:scroll!important}
    .shop-products-section,.shop-product-detail{padding:34px 0}
    .shop-panel,.shop-product-info{padding:24px;border-radius:24px}
    .shop-btn{width:100%}
    .shop-mini-actions{display:none}
}

/* =====================================================
   SHOP PRO - Espace client, commandes, devis
===================================================== */
.shop-shell {
    min-height: calc(100vh - var(--header-h, 82px));
    padding: 72px 0 110px;
}

.shop-account-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 26px;
    align-items: start;
}

.shop-account-card,
.shop-order-card,
.shop-order-mini,
.shop-quote-steps > div {
    background: linear-gradient(180deg, rgba(41, 12, 55, .62), rgba(8, 7, 16, .76));
    border: 1px solid rgba(179, 92, 255, .24);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.shop-account-card {
    border-radius: 30px;
    padding: 26px;
    position: sticky;
    top: calc(var(--header-h, 82px) + 22px);
}

.shop-account-main {
    display: grid;
    gap: 24px;
}

.shop-panel-tight {
    margin: 0;
}

.shop-avatar-wrap {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(179,92,255,.46), rgba(243,213,138,.28));
    border: 1px solid rgba(255,255,255,.16);
    display: grid;
    place-items: center;
    box-shadow: 0 0 38px rgba(179,92,255,.22);
}

.shop-avatar-wrap img,
.shop-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-avatar-wrap span {
    color: #fff;
    font-size: 42px;
    font-weight: 950;
}

.shop-account-profile h1 {
    margin: 18px 0 6px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
}

.shop-account-profile p {
    color: rgba(255,255,255,.68);
    margin: 0 0 18px;
}

.shop-logo-preview {
    width: 100%;
    height: 110px;
    border-radius: 20px;
    overflow: hidden;
    margin: 18px 0;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.20);
}

.shop-account-menu {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.shop-account-menu a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-weight: 850;
    padding: 13px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}

.shop-account-menu a.active,
.shop-account-menu a:hover {
    color: #fff;
    border-color: rgba(179,92,255,.42);
    background: rgba(179,92,255,.16);
}

.shop-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.shop-form-grid label,
.shop-checkout-form form label,
.shop-add-form label {
    color: rgba(255,255,255,.78);
    font-weight: 850;
}

.shop-form-wide {
    grid-column: 1 / -1;
}

.shop-form-grid input,
.shop-form-grid textarea,
.shop-checkout-form input,
.shop-checkout-form textarea,
.shop-checkout-form select {
    width: 100%;
    margin-top: 8px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(0,0,0,.28);
    color: #fff;
    padding: 13px 14px;
    font: inherit;
    outline: none;
}

.shop-alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin: 16px 0;
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 800;
}

.shop-alert-success {
    background: rgba(28, 172, 112, .16);
    border-color: rgba(28, 172, 112, .34);
}

.shop-alert-error {
    background: rgba(255, 67, 98, .14);
    border-color: rgba(255, 67, 98, .34);
}

.shop-order-list-mini,
.shop-orders-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.shop-order-mini {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
}

.shop-order-mini span,
.shop-order-mini em {
    color: var(--gold2, #f3d58a);
    font-style: normal;
    font-weight: 900;
}

.shop-order-card {
    border-radius: 24px;
    padding: 20px;
}

.shop-order-card header,
.shop-order-card footer,
.shop-order-items p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.shop-order-card header strong {
    display: block;
    color: #fff;
    font-size: 20px;
}

.shop-order-card header small,
.shop-order-items span {
    color: rgba(255,255,255,.66);
}

.shop-order-card header span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(179,92,255,.18);
    border: 1px solid rgba(179,92,255,.30);
    font-weight: 900;
}

.shop-order-card header b,
.shop-order-items strong {
    color: var(--gold2, #f3d58a);
}

.shop-order-items {
    margin: 18px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
    padding: 10px 0;
}

.shop-order-card footer {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.shop-order-card footer form {
    margin: 0;
}

.shop-link-danger {
    border: 0;
    background: transparent;
    color: #ff8ca0;
    font-weight: 900;
    cursor: pointer;
}

.shop-quote-steps {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.shop-quote-steps > div {
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.shop-quote-steps strong {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #11070a;
    background: linear-gradient(135deg, var(--gold2, #f3d58a), var(--gold, #d8a34d));
}

.shop-quote-steps span {
    color: #fff;
    font-weight: 850;
}

@media(max-width: 980px) {
    .shop-account-grid,
    .shop-form-grid {
        grid-template-columns: 1fr;
    }
    .shop-account-card {
        position: relative;
        top: auto;
    }
    .shop-order-mini,
    .shop-order-card header,
    .shop-order-card footer,
    .shop-order-items p {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }
}
