@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');
*{
    box-sizing: border-box;
    margin:0;
    padding:0;
    line-height: 1.5;
    letter-spacing: normal;
}
*{
    font-family: "Cabin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
}



:root {
  --primary-color: #d1f30f;
  --text-primary-color: #000000;
  --spacing-md: 16px;
  --body-background:#f6f5f7;
  --btns-background:#4f4f4f;
  --btns-active:#28b83d;
  --btns-second:#B4A35C;
  
}

:root {
    --bg-page: #f5f7fb;
    --bg-card: #ffffff;
    --bg-soft: #f9fafb;
    --bg-muted: #f3f4f6;

    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;

    --border-color: #e5e7eb;

    --primary: #2563eb;
    --primary-hover: #1d4ed8;

    --success-bg: #dcfce7;
    --success-text: #166534;

    --danger-bg: #fee2e2;
    --danger-text: #991b1b;

    --shadow-sm: 0 4px 18px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 22px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 16px;

    --font-base: 15px;
    --font-sm: 14px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-xxl: 32px;
}

body{
    background-color: var(--body-background);
}

a{
    color:var(--text-primary-color);
    text-decoration: none;

}
.contain{
    max-width: 1440px;
    margin:auto;
    width:90% !important;
}
.banner{
    width:100%;
    display: flex;
    align-items: center;
    padding:20px;
    background-image: url('/images/edog-hero.jpg');
    background-size: cover;
    height:600px;
    margin:20px auto;
    background-color: var(--btns-second);
}

.plus{
    width:30px;
   
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ravnaCrta{
    width:3px;
    height:15px;
    position: absolute;
    background-color: white;
}
.navpicnaCrta{
    width:15px;
    height:3px;
    background-color: white;
}
.btnAdd{
    background-color: var(--btns-active);
    display: flex;
    width: fit-content;
    justify-content: space-between;
    padding:9px;
    color:white;
    min-height: 24px;
    align-items: center;
    cursor: pointer;
    gap:10px;
}


/*ZA formOVERLAY*/

.form-overlay{
  position: fixed;
  inset: 0;
  
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: none;
}

.form-overlay__content{
  position: relative;
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 10px;
  padding: 24px;
}

.form-overlay__close{
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.form-overlay__title{
  margin: 0 0 16px 0;
}
.text-danger{
    color:Red;
}

.createMyDog .btnSubmit, .submitBtn{
    padding:5px 20px;
    margin-top:1.5rem;
    background-color: var(--btns-active) !important;
    color:white;
}

/*CART SIDEBAR CSS*/




/* HEADER */
.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e5e5;
}

/* BODY */
.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

/* FOOTER */
.cart-sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    
}
#cartSidebarContent{
    height:100%;
    display: flex;
    flex-direction: column;
}

/* CLOSE BUTTON */
.cart-sidebar-close {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

/* 🔥 SIDEBAR (glavni del) */
#cartSidebar {
    position: fixed;
    top: 0;
    right: 0; /* 🔥 pomembno: desna stran */
    width: 420px;
    max-width: 100%;
    height: 100vh;

    background: white;

    display: flex;              /* 🔥 da body (flex:1) dela */
    flex-direction: column;

    transform: translateX(100%); /* skrit desno */
    transition: transform 0.3s ease;
    will-change: transform;

    z-index: 1001;

    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

/* ko je odprt */
#cartSidebar.open {
    transform: translateX(0);
}

/* 🔥 OVERLAY */
#cartSidebarOverlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease;

    z-index: 1000;
}

/* ko je aktiven */
#cartSidebarOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* ITEM */
.cart-sidebar-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}

/* DISABLED ITEM */
.cart-sidebar-item.disabled {
    background: #f2f2f2;
    color: #888;
}

/* REMOVE BUTTON */
.cart-remove-btn {
    background: rgb(226, 46, 46);
    padding: 5px 10px;
    border-radius: 3px;
    margin-top: 10px;
    color: white;
    border: none;
    cursor: pointer;
}

/* CHECKOUT BUTTON */
.cart-checkout-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}