/**
 * @file
 * Subtheme specific CSS.
 * style.css → Handles structure, layout, grid, and positioning.
 */
 /* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  a {
    text-decoration: none;
    color: inherit;
    color: #ef6602;
  }
  
.navigation-bar{
  background-color: #272b37 !important;
}

.sticky-top {
    position: fixed;
    z-index: 1 !important;
}


/* ---- All Products Grid Layout ---- */
.views-view-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

/* ---- Product Card ---- */
.views-view-grid__item-inner article {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover effect */
.views-view-grid__item-inner article:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* ---- Product Title ---- */
.views-view-grid__item-inner .field--name-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

/* ---- Price ---- */
.field--name-price .field__item {
    font-size: 20px;
    font-weight: 600;
    color: #1a7c61;
}

/* ---- Product Image ---- */
.views-view-grid__item-inner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
    object-fit: cover;
}

/* ---- Body text ---- */
.views-view-grid__item-inner .field--name-body {
    color: #555;
    font-size: 15px;
    margin-top: auto;
}

/* ---- Add to Cart Button (merged & cleaned) ---- */
.views-view-grid__item-inner .button--add-to-cart,
.views-view-grid__item-inner .btn-primary {
    background: #ef6602 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px !important;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover */
.views-view-grid__item-inner .button--add-to-cart:hover,
.views-view-grid__item-inner .btn-primary:hover {
    background: #d45900 !important;
    transform: translateY(-2px);
}

/* Active */
.views-view-grid__item-inner .button--add-to-cart:active,
.views-view-grid__item-inner .btn-primary:active {
    transform: scale(0.97);
}

.field--name-variations .field__label{
  display: none;
}

/* ---- Center Middle Wrapper ---- */
[data-drupal-messages] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    z-index: 9999;
    pointer-events: none; /* so it doesn't block clicks */
}

/* ---- Message Box Styling ---- */
.messages--status {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 24px 32px;
    border-radius: 14px;
    font-size: 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 480px;
    pointer-events: auto;
    animation: popupIn 0.35s ease-out, fadeAway 0.5s ease-in 4s forwards;
}

/* Link styling inside */
.messages--status a {
    color: #ef6602;
    font-weight: 700;
    text-decoration: underline;
}

/* ---- CART DROPDOWN WRAPPER ---- */
.cart-block--contents {
    position: absolute;
    right: 0;
    top: 60px;
    width: 340px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

/* Inner container */
.cart-block--contents__inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ---- TABLE STYLING ---- */
.cart-block--contents table {
    width: 100%;
    border-collapse: collapse;
}

.cart-block--contents table tbody tr {
    border-bottom: 1px solid #f1f1f1;
    transition: background 0.2s ease;
}

.cart-block--contents table tbody tr:hover {
    background: #fafafa;
}

.cart-block--contents td {
    padding: 10px 5px;
    font-size: 14px;
    color: #333;
}

/* Quantity column */
.cart-block--contents .views-field-quantity {
    font-weight: 600;
    color: #ef6602;
}

/* Product title */
.cart-block--contents .views-field-title {
    font-weight: 500;
}

/* Price column */
.cart-block--contents .views-field-total-price__number {
    text-align: right;
    font-weight: 600;
}

/* ---- CART LINK BUTTON ---- */
.cart-block--contents {
    position: absolute;
    right: 0;
    top: 60px;
    width: 360px !important;
    max-height: 400px;      /* makes it scroll if long */
    overflow-y: auto;       /* avoids cutting content */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 99999;
}

.cart-block--contents {
    width: 350px;
    color: black;
    background: white;
}

.cart-block--contents__links a {
    background: #d95801;
    display: block;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 6px;
    color: #fff !important;
    padding-top: 5px;
    padding-bottom: 5px;
    text-decoration: none;
}
.cart-block--contents__links a:hover {
    background: #d95801;
}

/* Optional fade animation */
.cart-block--contents {
    animation: cartFade 0.25s ease;
}

@keyframes cartFade {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- MOBILE ---- */
@media (max-width: 480px) {
    .cart-block--contents {
        width: 95vw;
        right: 50%;
        transform: translateX(50%);
    }
}


/* ---- Enter Animation ---- */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ---- Exit Animation ---- */
@keyframes fadeAway {
    to {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .views-view-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .views-view-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------
   BREADCRUMB STYLING
--------------------------------*/
nav[aria-label="breadcrumb"] {
    margin-bottom: 25px;
    font-size: 14px;
}

.container-fluid-iner-page{
    width: 1200px;
    margin: auto;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #fff7f0;  /* light orange background */
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›"; /* arrow separator */
    padding: 0 8px;
    color: #ff6b00; /* orange separator */
    font-weight: 600;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #ff6b00; /* orange links */
    transition: color 0.25s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #e65a00; /* darker orange on hover */
}

.breadcrumb-item.active a {
    color: #444; /* current page color */
    pointer-events: none;
    cursor: default;
}

.visually-hidden {
    position: absolute !important;
    height: 1px; 
    width: 1px; 
    overflow: hidden; 
    clip: rect(1px, 1px, 1px, 1px); 
    white-space: nowrap; 
}

#block-hutohub-footer-2 p a{
  color: #ef6602;
}